Skip to content

Commit

Permalink
[chores] Made compatible with django-allauth~=0.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Aug 23, 2024
1 parent 0663ac3 commit 8c9be61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions tests/openwisp2/sample_users/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ class Migration(migrations.Migration):
options={
'abstract': False,
},
bases=(organizations.base.UnicodeMixin, models.Model),
),
migrations.CreateModel(
name='Group',
Expand Down Expand Up @@ -344,7 +343,6 @@ class Migration(migrations.Migration):
'verbose_name_plural': 'organization users',
'unique_together': {('user', 'organization')},
},
bases=(organizations.base.UnicodeMixin, models.Model),
),
migrations.AddField(
model_name='organization',
Expand Down Expand Up @@ -408,7 +406,6 @@ class Migration(migrations.Migration):
'verbose_name': 'organization owner',
'verbose_name_plural': 'organization owners',
},
bases=(organizations.base.UnicodeMixin, models.Model),
),
migrations.AddField(
model_name='user',
Expand Down
1 change: 1 addition & 0 deletions tests/openwisp2/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
'sesame.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'allauth.account.middleware.AccountMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'djangosaml2.middleware.SamlSessionMiddleware',
]
Expand Down

0 comments on commit 8c9be61

Please sign in to comment.