The directory nesting is unnecessary here and confusing to navigate. I've moved all apps to the project subdirectory, currently called "www", but soon to be renamed "conservancy". I've also moved manage.py to the top-level directory.
9 lines
212 B
Python
9 lines
212 B
Python
from django.contrib import admin
|
|
|
|
from .models import Supporter
|
|
|
|
|
|
class SupporterAdmin(admin.ModelAdmin):
|
|
list_display = ('display_name', 'display_until_date')
|
|
|
|
admin.site.register(Supporter, SupporterAdmin)
|