Skip to content

Commit

Permalink
fix initial migration for groups and python3; fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Akasch committed Jun 13, 2018
1 parent bb9b6ec commit 433c167
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bitpoll/groups/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('date_invited', models.DateTimeField(default=django.utils.timezone.now)),
('group', models.ForeignKey(related_name=b'invitations', to='auth.Group', on_delete=models.CASCADE)),
('invited_by', models.ForeignKey(related_name=b'given_invitations', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
('invitee', models.ForeignKey(related_name=b'invitations', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
('group', models.ForeignKey(related_name='invitations', to='auth.Group', on_delete=models.CASCADE)),
('invited_by', models.ForeignKey(related_name='given_invitations', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
('invitee', models.ForeignKey(related_name='invitations', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
],
options={
},
Expand All @@ -32,8 +32,8 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('public_members', models.BooleanField(default=False)),
('admins', models.ManyToManyField(related_name=b'admin_of', to=settings.AUTH_USER_MODEL)),
('group', models.OneToOneField(related_name=b'properties', to='auth.Group', on_delete=models.CASCADE)),
('admins', models.ManyToManyField(related_name='admin_of', to=settings.AUTH_USER_MODEL)),
('group', models.OneToOneField(related_name='properties', to='auth.Group', on_delete=models.CASCADE)),
],
options={
},
Expand Down

0 comments on commit 433c167

Please sign in to comment.