Mercurial > public > bravenewsurf
changeset 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 | 6b664ec90f2f |
children | abe08d74dab3 |
files | bns_website/bands/admin.py bns_website/news/admin.py |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)