Fix #783: migration issue on develop

merge-requests/757/head
Eliot Berriot 2019-04-04 16:05:34 +02:00
rodzic 7bb0fa2e64
commit 63c3c22534
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
1 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -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",
}
#