Commit 3ba584cd authored by Dmitry Shelepnev's avatar Dmitry Shelepnev
Browse files

Create AuthorsView. Delete Breadcumb Anchors

parent 3b814edf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ from django.shortcuts import render
#from django.db.models import Count, Min, Sum
#from django.utils.encoding import escape_uri_path

from opds_catalog.models import Book, Catalog, Author, Genre, Series, bookshelf, Counter, lang_codes
from opds_catalog.models import Book, Catalog, Author, Genre, Series, bookshelf, Counter, lang_menu
from opds_catalog import models
from opds_catalog import settings
#from django.http.response import Http404
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ counter_allseries = 'allseries'
LangCodes = {1:'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя',
             2:'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
             3:'0123456789'}
lang_codes = {1:_('Cyrillic'), 2:_('Latin'), 3:_('Digits'), 9:_('Other symbols'), 0:_('Show all')}
lang_menu = {1:_('Cyrillic'), 2:_('Latin'), 3:_('Digits'), 9:_('Other symbols'), 0:_('Show all')}

class Book(models.Model):
    filename = models.CharField(db_index=True, max_length=256)
Loading