Files @ 531a97a3c9af
Branch filter:

Location: website/www/contacts/admin.py

bsturmfels
Eliminate "conservancy" and "apps" subdirectories

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.
from django.contrib import admin

from .models import ContactEntry


class ContactEntryAdmin(admin.ModelAdmin):
    list_display = ('email', 'subscribe_conservancy')


admin.site.register(ContactEntry, ContactEntryAdmin)