diff gpp/donations/admin.py @ 33:c018872385ea

Slideshow for home page; Initial checkin for the donations application.
author Brian Neal <bgneal@gmail.com>
date Wed, 03 Jun 2009 00:59:17 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/donations/admin.py	Wed Jun 03 00:59:17 2009 +0000
@@ -0,0 +1,10 @@
+"""
+This file contains the admin definitions for the donations application.
+"""
+from django.contrib import admin
+from donations.models import Donation
+
+class DonationAdmin(admin.ModelAdmin):
+    raw_id_fields = ('user', )
+
+admin.site.register(Donation, DonationAdmin)