# HG changeset patch # User Bob Mourlam # Date 1320111037 18000 # Node ID 5348d2235497f70e23c9d8f5316b4571f23285f0 # Parent 6b664ec90f2fd85c21f958b6e2370054aaf66573 Moved the news admin to its own file and removed it from Brian's band admin. I'm an idiot. diff -r 6b664ec90f2f -r 5348d2235497 bns_website/bands/admin.py --- a/bns_website/bands/admin.py Sun Oct 30 21:37:52 2011 -0500 +++ b/bns_website/bands/admin.py Mon Oct 31 20:30:37 2011 -0500 @@ -4,7 +4,6 @@ """ from django.contrib import admin from bands.models import Band -from news.models import News class BandAdmin(admin.ModelAdmin): @@ -12,4 +11,3 @@ list_editable = ['order'] admin.site.register(Band, BandAdmin) -admin.site.register(News) diff -r 6b664ec90f2f -r 5348d2235497 bns_website/news/admin.py --- /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)