Skip to content

Commit

Permalink
Merge pull request #176 from UnitapApp/fix/delete-permissions
Browse files Browse the repository at this point in the history
delete permissions app
  • Loading branch information
Mohamad Bastin authored Nov 8, 2023
2 parents dd86aed + 6e4f6f3 commit e3f99a9
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 344 deletions.
2 changes: 1 addition & 1 deletion brightIDfaucet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def before_send(event, hint):
"faucet.apps.FaucetConfig",
"tokenTap.apps.TokentapConfig",
"prizetap.apps.PrizetapConfig",
"permissions.apps.PermissionsConfig",
# "permissions.apps.PermissionsConfig",
"authentication.apps.AuthenticationConfig",
"rest_framework",
"rest_framework.authtoken",
Expand Down
Empty file removed permissions/__init__.py
Empty file.
38 changes: 0 additions & 38 deletions permissions/admin.py

This file was deleted.

6 changes: 0 additions & 6 deletions permissions/apps.py

This file was deleted.

50 changes: 0 additions & 50 deletions permissions/migrations/0001_initial.py

This file was deleted.

18 changes: 0 additions & 18 deletions permissions/migrations/0002_permission_description.py

This file was deleted.

25 changes: 0 additions & 25 deletions permissions/migrations/0003_onceperweekverification.py

This file was deleted.

25 changes: 0 additions & 25 deletions permissions/migrations/0004_oncepermonthverification.py

This file was deleted.

25 changes: 0 additions & 25 deletions permissions/migrations/0005_onceinalifetimeverification.py

This file was deleted.

Empty file removed permissions/migrations/__init__.py
Empty file.
74 changes: 0 additions & 74 deletions permissions/models.py

This file was deleted.

34 changes: 0 additions & 34 deletions permissions/serializers.py

This file was deleted.

28 changes: 0 additions & 28 deletions permissions/tests.py

This file was deleted.

3 changes: 0 additions & 3 deletions permissions/views.py

This file was deleted.

12 changes: 6 additions & 6 deletions prizetap/migrations/0003_raffle_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
class Migration(migrations.Migration):

dependencies = [
('permissions', '0004_oncepermonthverification'),
# ('permissions', '0004_oncepermonthverification'),
('prizetap', '0002_raffle_is_prize_nft'),
]

operations = [
migrations.AddField(
model_name='raffle',
name='permissions',
field=models.ManyToManyField(blank=True, to='permissions.permission'),
),
# migrations.AddField(
# model_name='raffle',
# name='permissions',
# field=models.ManyToManyField(blank=True, to='permissions.permission'),
# ),
]
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class Migration(migrations.Migration):
'abstract': False,
},
),
migrations.RemoveField(
model_name='raffle',
name='permissions',
),
# migrations.RemoveField(
# model_name='raffle',
# name='permissions',
# ),
migrations.AddField(
model_name='raffle',
name='constraints',
Expand Down
Loading

0 comments on commit e3f99a9

Please sign in to comment.