Commit 9d5aa8e8 authored by Titia de Castro's avatar Titia de Castro

created and registered AnnouncementAdmin

parent 55b684fb
from django.contrib import admin from django.contrib import admin
# Register your models here. from .models import Announcement
class AnnouncementAdmin(admin.ModelAdmin):
model = Announcement
admin.site.register(Announcement, AnnouncementAdmin)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment