#3 Displaying Models on Admin page
This commit is contained in:
parent
17647bf4b7
commit
4c5a5fee8d
@ -1,3 +1,11 @@
|
|||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
# Register your models here.
|
from .models import (
|
||||||
|
Image,
|
||||||
|
Visitor,
|
||||||
|
Gallery
|
||||||
|
)
|
||||||
|
|
||||||
|
admin.site.register(Image)
|
||||||
|
admin.site.register(Visitor)
|
||||||
|
admin.site.register(Gallery)
|
||||||
|
Loading…
Reference in New Issue
Block a user