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

🔧 Register models in the admin page

This commit is contained in:
Steffo 2021-04-05 18:30:03 +02:00
parent 9567e4d5a3
commit ba13da2d31
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
from django.contrib import admin 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.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'rest_framework', 'rest_framework',
'sophon.core', 'sophon.core', # FIXME: Is .apps.CoreConfig not needed?
] ]
MIDDLEWARE = [ MIDDLEWARE = [