-
Notifications
You must be signed in to change notification settings - Fork 4
Description
hello in the picture you can see admin berry and the default admin
i am using model_translation for diffefernt languages on my website
the difference is admin berry creates seperate input field for each lang but in django default admin by importing thhese:
class PopupModelAdmin(TranslationAdmin):
class Media:
js = (
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js',
'modeltranslation/js/tabbed_translation_fields.js',
)
css = {
'screen': ('modeltranslation/css/tabbed_translation_fields.css',),
}
in admin.py i can make it display like the second picture where it has a seperate tab for each lang
i tried importing the js and css in admin berry templates scrtipts.html and styles.html but it didnt work