Use django-suit for SIK Admin
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Translation classes."""
|
||||
|
||||
from modeltranslation.translator import register, TranslationOptions
|
||||
from webapp.models import BaseFeed, Feed, Tag, Event
|
||||
from webapp.models import BaseFeed, Feed, Tag, Event, Registration
|
||||
|
||||
|
||||
@register(BaseFeed)
|
||||
@@ -30,3 +30,10 @@ class TagTranslationOptions(TranslationOptions):
|
||||
"""Class for tag translation options."""
|
||||
|
||||
fields = ('name',)
|
||||
|
||||
|
||||
@register(Registration)
|
||||
class RegistrationTranslationOptions(TranslationOptions):
|
||||
"""Class for registration translation options."""
|
||||
|
||||
fields = ('name',)
|
||||
|
||||
Reference in New Issue
Block a user