Skip to content

Commit 231efff

Browse files
MattBlack85jleclanche
authored andcommitted
Remove dependencies to models that create circular errors
1 parent 043e5d3 commit 231efff

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

oauth2_provider/migrations/0001_initial.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
class Migration(migrations.Migration):
1212

1313
dependencies = [
14-
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
15-
migrations.swappable_dependency(oauth2_settings.APPLICATION_MODEL),
16-
migrations.swappable_dependency(oauth2_settings.ACCESS_TOKEN_MODEL),
17-
migrations.swappable_dependency(oauth2_settings.REFRESH_TOKEN_MODEL),
18-
migrations.swappable_dependency(oauth2_settings.GRANT_MODEL),
14+
migrations.swappable_dependency(settings.AUTH_USER_MODEL)
1915
]
2016

2117
operations = [

0 commit comments

Comments
 (0)