Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
32:07da6967fc40 | 33:c018872385ea |
---|---|
1 """ | |
2 This file contains the admin definitions for the donations application. | |
3 """ | |
4 from django.contrib import admin | |
5 from donations.models import Donation | |
6 | |
7 class DonationAdmin(admin.ModelAdmin): | |
8 raw_id_fields = ('user', ) | |
9 | |
10 admin.site.register(Donation, DonationAdmin) |