fix issues from lint auto fix
This commit is contained in:
parent
e2d3b90ab3
commit
59dbcbff07
7 changed files with 12 additions and 5 deletions
|
@ -7,9 +7,12 @@ class CatalogConfig(AppConfig):
|
|||
|
||||
def ready(self):
|
||||
# load key modules in proper order, make sure class inject and signal works as expected
|
||||
from catalog import api, models, sites # noqa
|
||||
from catalog.models import init_catalog_audit_log, init_catalog_search_models
|
||||
from journal import models as journal_models # noqa
|
||||
|
||||
# register cron jobs
|
||||
from catalog.jobs import DiscoverGenerator, PodcastUpdater # noqa
|
||||
|
||||
init_catalog_search_models()
|
||||
init_catalog_audit_log()
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<link href="{% sass_src 'scss/neodb.scss' %}"
|
||||
rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="{{ cdn_url }}/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css"
|
||||
<link href="{{ cdn_url }}/npm/@fortawesome/fontawesome-free@6.7.2/css/all.min.css"
|
||||
rel="stylesheet"
|
||||
type="text/css">
|
||||
<link rel="search"
|
||||
|
|
|
@ -9,6 +9,7 @@ class JournalConfig(AppConfig):
|
|||
# load key modules in proper order, make sure class inject and signal works as expected
|
||||
from catalog.models import Indexer
|
||||
|
||||
from . import api # noqa
|
||||
from .models import Rating, Tag
|
||||
|
||||
Indexer.register_list_model(Tag)
|
||||
|
|
|
@ -6,4 +6,4 @@ class MastodonConfig(AppConfig):
|
|||
|
||||
def ready(self):
|
||||
# register cron jobs
|
||||
pass # isort:skip
|
||||
from .jobs import MastodonSiteCheck # noqa
|
||||
|
|
|
@ -7,4 +7,7 @@ class SocialConfig(AppConfig):
|
|||
|
||||
def ready(self):
|
||||
# load key modules in proper order, make sure class inject and signal works as expected
|
||||
pass
|
||||
from catalog import models as catalog_models # noqa
|
||||
from catalog import sites as catalog_sites # noqa
|
||||
from journal import models as journal_models # noqa
|
||||
from social import models as social_models # noqa
|
||||
|
|
|
@ -7,4 +7,4 @@ class TakaheConfig(AppConfig):
|
|||
|
||||
def ready(self):
|
||||
# register cron jobs
|
||||
pass # isort:skip
|
||||
from .jobs import TakaheStats # noqa
|
||||
|
|
|
@ -6,4 +6,4 @@ class UsersConfig(AppConfig):
|
|||
|
||||
def ready(self):
|
||||
# register cron jobs
|
||||
pass # isort:skip
|
||||
from users.jobs import MastodonUserSync # noqa
|
||||
|
|
Loading…
Add table
Reference in a new issue