Adding the core applications code to the repository
This commit is contained in:
10
notes/admin.py
Normal file
10
notes/admin.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import *
|
||||
# Register your models here.
|
||||
|
||||
@admin.register(Note)
|
||||
class NoteAdmin(admin.ModelAdmin):
|
||||
|
||||
list_display = ['id', 'sujet']
|
||||
list_filter = ('sujet',)
|
||||
Reference in New Issue
Block a user