1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-21 22:34:21 +00:00

🔧 Register models in the admin page

This commit is contained in:
Steffo 2021-04-05 18:30:03 +02:00
parent 476d2b6b0e
commit 1c28a89dfa
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.Project)
admin.site.register(models.DataSource)

View file

@ -39,7 +39,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'sophon.core',
'sophon.core', # FIXME: Is .apps.CoreConfig not needed?
]
MIDDLEWARE = [