diff donations/admin.py @ 581:ee87ea74d46b

For Django 1.4, rearranged project structure for new manage.py.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 May 2012 17:10:48 -0500
parents gpp/donations/admin.py@c018872385ea
children 18e42866b34d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/donations/admin.py	Sat May 05 17:10:48 2012 -0500
@@ -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)