Commit a9a70f4d48c276fecf2fe56594a14941adb2a207
1 parent
0b8ed63d
Exists in
master
and in
39 other branches
Adding MaillingList model to admin
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/super_archives/admin.py
| 1 | 1 | |
| 2 | 2 | from django.contrib import admin |
| 3 | -from .models import Message, Thread, EmailAddress | |
| 3 | +from .models import MailingList, Message, Thread, EmailAddress | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | class EmailAddressAdmin(admin.ModelAdmin): |
| ... | ... | @@ -57,6 +57,7 @@ class ThreadAdmin(admin.ModelAdmin): |
| 57 | 57 | ) |
| 58 | 58 | |
| 59 | 59 | |
| 60 | +admin.site.register(MailingList) | |
| 60 | 61 | admin.site.register(Thread, ThreadAdmin) |
| 61 | 62 | admin.site.register(Message, MessageAdmin) |
| 62 | 63 | admin.site.register(EmailAddress, EmailAddressAdmin) | ... | ... |