diff bns_website/news/admin.py @ 17:5348d2235497

Moved the news admin to its own file and removed it from Brian's band admin. I'm an idiot.
author Bob Mourlam <bob.mourlam@gmail.com>
date Mon, 31 Oct 2011 20:30:37 -0500
parents
children 6cb0d49187ae
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bns_website/news/admin.py	Mon Oct 31 20:30:37 2011 -0500
@@ -0,0 +1,8 @@
+"""
+Automatic admin definitions for the models in the bands application.
+
+"""
+from django.contrib import admin
+from news.models import News
+
+admin.site.register(News)