from django.contrib import admin from conservancy.apps.fundgoal import models as fundgoal_models class FundraisingGoalAdmin(admin.ModelAdmin): list_display = ('fundraiser_code_name', 'fundraiser_goal_amount') class GoalProviderAdmin(admin.ModelAdmin): fields = [ 'fundraising_goal', 'provider_name', ] admin.site.register(fundgoal_models.FundraisingGoal, FundraisingGoalAdmin) admin.site.register(fundgoal_models.GoalProvider, GoalProviderAdmin)