Automatically generate admin.py file for a models.py file with the basic structure

Use this snippet to generate admin.py file from you models file automatically. You don’t really need to write them manually.

http://www.djangosnippets.org/snippets/1900/

Enjoy!!!

Leave a Reply