Let’s active the awesome admin area in Python’s Django today! 3 easy steps to a great backend!
1. Add the following line to your settings.py file, right under INSTALLED_APPS (this is usually just commented out)
django.contrib.admin
2. Run the database sync tool to populate the admin tables
>>python manage.py syncdb
3. Uncomment the following lines from urls.py
from django.contrib import admin
admin.autodiscover()
url(r'^admin/', include(admin.site.urls))
Okay, I lied, there is a possible 4th step, if you shutdown your web server you will have to run the following to get it started, otherwise it should update automatically and need no human intervention.
python manage.py runserver