Skip to content
Snippets Groups Projects
Commit 48ce87d2 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '783-migration-error' into 'develop'

Fix #783: migration issue on develop

Closes #783

See merge request funkwhale/funkwhale!704
parents 47b3b1ae 63c3c225
No related branches found
No related tags found
No related merge requests found
...@@ -185,10 +185,6 @@ MIDDLEWARE = ( ...@@ -185,10 +185,6 @@ MIDDLEWARE = (
"funkwhale_api.users.middleware.RecordActivityMiddleware", "funkwhale_api.users.middleware.RecordActivityMiddleware",
) )
# MIGRATIONS CONFIGURATION
# ------------------------------------------------------------------------------
MIGRATION_MODULES = {"sites": "funkwhale_api.contrib.sites.migrations"}
# DEBUG # DEBUG
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug # See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
...@@ -229,7 +225,8 @@ MIGRATION_MODULES = { ...@@ -229,7 +225,8 @@ MIGRATION_MODULES = {
# see https://github.com/jazzband/django-oauth-toolkit/issues/634 # see https://github.com/jazzband/django-oauth-toolkit/issues/634
# swappable models are badly designed in oauth2_provider # swappable models are badly designed in oauth2_provider
# ignore migrations and provide our own models. # ignore migrations and provide our own models.
"oauth2_provider": None "oauth2_provider": None,
"sites": "funkwhale_api.contrib.sites.migrations",
} }
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment