Mercurial > public > sg101
view gpp/donations/admin.py @ 579:217a6319278c
For Django 1.4, added the admin password reset feature.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 May 2012 14:59:20 -0500 |
parents | c018872385ea |
children |
line wrap: on
line source
""" 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)