Files
postgres-web/pgweb/core/admin.py
Magnus Hagander fcc9e08e95 Add simple RSS parser, currently only does planet. Use this for the
planet list on the frontpage and the community page.
2009-12-28 19:21:32 +01:00

20 lines
531 B
Python

from django.contrib import admin
from django import forms
from django.db import connection
from django.http import HttpResponseRedirect, HttpResponse
from pgweb.core.models import *
class OrganisationAdmin(admin.ModelAdmin):
list_display = ('name', 'approved', 'lastconfirmed',)
list_filter = ('approved',)
ordering = ('name', )
admin.site.register(Version)
admin.site.register(OrganisationType)
admin.site.register(Organisation, OrganisationAdmin)
admin.site.register(ImportedRSSFeed)
admin.site.register(ImportedRSSItem)