Skip to content

Commit

Permalink
fix(socialaccount): Always depend on user model
Browse files Browse the repository at this point in the history
* Update 0001_initial.py for migration bug fix

* Update 0001_initial.py

Updated the migrations to fix issue with not selecting user model dependency, modified as per the suggesion from pennersr

* Update 0001_initial.py

removed unwanted line
  • Loading branch information
elementzonline authored Oct 20, 2023
1 parent b58170f commit b9ad587
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions allauth/socialaccount/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class Migration(migrations.Migration):
]
if app_settings.SITES_ENABLED
else []
+ [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
)
) + [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]


operations = [
migrations.CreateModel(
Expand Down

0 comments on commit b9ad587

Please sign in to comment.