0.0.4
AuthApp add
This commit is contained in:
18
AuthApp/translation.py
Normal file
18
AuthApp/translation.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from modeltranslation.translator import translator, TranslationOptions
|
||||
from .models import *
|
||||
|
||||
|
||||
# class UserProfile_TranslationOptions(TranslationOptions):
|
||||
# fields = (
|
||||
# 'name', 'phone', 'city',
|
||||
# )
|
||||
# translator.register(UserProfile, UserProfile_TranslationOptions)
|
||||
#
|
||||
# class User_TranslationOptions(TranslationOptions):
|
||||
# fields = (
|
||||
# 'first_name', 'description', 'text', 'title', 'FAQ_title'
|
||||
# )
|
||||
# translator.register(User, User_TranslationOptions)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user