fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimization.
[redakcja.git]
/
src
/
documents
/
forms.py
diff --git
a/src/documents/forms.py
b/src/documents/forms.py
index
418ae4a
..
dccf0f0
100644
(file)
--- a/
src/documents/forms.py
+++ b/
src/documents/forms.py
@@
-3,7
+3,7
@@
#
from django.db.models import Count
from django import forms
#
from django.db.models import Count
from django import forms
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from django.conf import settings
from slugify import slugify
from .constants import MASTERS
from django.conf import settings
from slugify import slugify
from .constants import MASTERS
@@
-151,7
+151,7
@@
class BookForm(forms.ModelForm):
class Meta:
model = Book
class Meta:
model = Book
- exclude = ['project']
+ exclude = ['project'
, 'cover', 'legimi_id'
]
def __init__(self, *args, **kwargs):
ret = super(BookForm, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
ret = super(BookForm, self).__init__(*args, **kwargs)