diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 37b87cc3..ecf4de48 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -71,6 +71,7 @@ INSTALLED_APPS += [ "catalog.apps.CatalogConfig", "journal.apps.JournalConfig", "social.apps.SocialConfig", + "developer.apps.DeveloperConfig", "legacy.apps.LegacyConfig", ] @@ -423,5 +424,6 @@ DISCORD_WEBHOOKS = {} NINJA_PAGINATION_PER_PAGE = 20 OAUTH2_PROVIDER = {"ACCESS_TOKEN_EXPIRE_SECONDS": 3600 * 24 * 365} +OAUTH2_PROVIDER_APPLICATION_MODEL = "developer.Application" DEVELOPER_CONSOLE_APPLICATION_CLIENT_ID = "NEODB_DEVELOPER_CONSOLE" diff --git a/journal/models.py b/journal/models.py index 04b7c689..fa57a098 100644 --- a/journal/models.py +++ b/journal/models.py @@ -21,7 +21,6 @@ from catalog.common.utils import DEFAULT_ITEM_COVER, piece_cover_path from django.utils.baseconv import base62 from django.db.models import Q from catalog.models import * -from django.contrib.contenttypes.models import ContentType from .renderers import render_md, render_text from catalog.common import jsondata from django.db import connection