adding oauth2 related variables to settings to make '--nomigrations' option to work for running tests
@@ -325,6 +325,8 @@ SWAGGER_SETTINGS = {
}
OAUTH2_PROVIDER_APPLICATION_MODEL = 'oauth2_provider.Application'
+OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL = 'oauth2_provider.AccessToken'
+OAUTH2_PROVIDER_REFRESH_TOKEN_MODEL = 'oauth2_provider.RefreshToken'
# These apps are excluded by hs_core.tests.runner.CustomTestSuiteRunner
# All apps beginning with "django." or "mezzanine." are also excluded by default
