Answer the question
In order to leave comments, you need to log in
Django admin not displaying model fields in production?
I have an app blog with an Article model . Everything worked before but when I commented out change_form_template = 'admin/custom_change.html' in admin.py
class ArticleAdmin(TranslatableAdmin):
list_display = ('title', 'author', 'category')
# change_form_template = 'admin/custom_change.html'
...
admin.site.register(Article, ArticleAdmin)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question