fnp
/
redakcja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix after upgrading django-filter.
[redakcja.git]
/
src
/
catalogue
/
translation.py
1
from modeltranslation.translator import register, TranslationOptions
2
from . import models
3
4
5
@register(models.Author)
6
class AuthorTranslationOptions(TranslationOptions):
7
fields = (
8
'first_name',
9
'last_name',
10
'place_of_birth',
11
'place_of_death',
12
'description',
13
)