]> git.p6c8.net - pcdenotes.git/blob - notes/admin.py
Changed <div id="content"> to <main>
[pcdenotes.git] / notes / admin.py
1 from django.contrib import admin
2 from .models import Note
3
4 # Register your models here.
5
6 class NoteAdmin(admin.ModelAdmin):
7 list_display = ('title', 'status',)
8 list_filter = ('status',)
9 search_fields = ('title', 'content',)
10
11
12 admin.site.register(Note, NoteAdmin)

patrick-canterino.de