Fix #783: migration issue on develop

This commit is contained in:
Eliot Berriot 2019-04-04 16:05:34 +02:00
parent 7bb0fa2e64
commit 63c3c22534
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 2 additions and 5 deletions

View File

@ -185,10 +185,6 @@ MIDDLEWARE = (
"funkwhale_api.users.middleware.RecordActivityMiddleware",
)
# MIGRATIONS CONFIGURATION
# ------------------------------------------------------------------------------
MIGRATION_MODULES = {"sites": "funkwhale_api.contrib.sites.migrations"}
# DEBUG
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
@ -229,7 +225,8 @@ MIGRATION_MODULES = {
# see https://github.com/jazzband/django-oauth-toolkit/issues/634
# swappable models are badly designed in oauth2_provider
# ignore migrations and provide our own models.
"oauth2_provider": None
"oauth2_provider": None,
"sites": "funkwhale_api.contrib.sites.migrations",
}
#