diff --git a/sophon/core/admin.py b/sophon/core/admin.py index 8c38f3f..789ceca 100644 --- a/sophon/core/admin.py +++ b/sophon/core/admin.py @@ -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) diff --git a/sophon/settings.py b/sophon/settings.py index c7213eb..822aa43 100644 --- a/sophon/settings.py +++ b/sophon/settings.py @@ -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 = [