Commit b709047f authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

Add Users and Sites objects to admin site


Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent ac876f29
from django.contrib import admin
from django.contrib.sites.models import Site
from django.contrib.auth.models import User
from patchwork.models import Project, Person, UserProfile, State, Patch, \
Comment, Bundle
......@@ -31,3 +33,12 @@ admin_site.register(Comment, CommentAdmin)
class BundleAdmin(admin.ModelAdmin):
pass
admin_site.register(Bundle, BundleAdmin)
class UserAdmin(admin.ModelAdmin):
pass
admin_site.register(User, UserAdmin)
class SiteAdmin(admin.ModelAdmin):
pass
admin_site.register(Site, SiteAdmin)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment