view gpp/donations/admin.py @ 334:6805d15cda13

Adding a script I had to write on the fly to filter out posts from the posts csv file that had no parent topics. MyISAM let me get away with that, but InnoDB won't.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Feb 2011 01:28:22 +0000
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)