python - django framework can't see new model online -
I have to make some changes to the website created with the Django Framework (version 1.6).
The problem I have is that I can not move the amendment to make offline on the online server. I can see the new page, the database has been modified, but the new category created in the administration website is not showing, thus I can not fill the fields with new information.
Create a new model in models.py,
/ Li>
to reload the file
Everything is working fine in the offline version. I know that to do this!
I added the code in the admin.py file (I've added the "paragraph" section):
active.models import from x, z, y, j, paragraph Category ArticleAdmin (admin.ModelAdmin): Order = ["title"] list_display = ('title',) search_fields = ['title'] admin.site.register (Article, article)>
Resolve
There was no problem with it, just to see the new section of the user in which I use the administrative site There is no right access!
Comments
Post a Comment