whatever the class name changed, the title will show 'Post Model'we haven't set method inside model class based methods which means it takes instance itselfevery object is instance reference, smart_text : encoding utf-8that's it for displaying data list understanding how unicode or string data works for instance names
IT study/python
2018. 5. 19. 14:33
1. python manage.py createsuperuser2. admin.pyadmin.site.register(PostModel) 3. how render this model in adminfirst of all, you need to create superuser id then, you can check the content field which is providing the null value but, the title is not allowed null.also, verbose_name is used in meta concept like below.check this out models.py 4. meta
IT study/python
2018. 5. 18. 20:56