mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-28 21:29:33 +00:00
Add ban for alcohol
This commit is contained in:
1 parent
a0319887c8
commit
257cb9cfe7
5 files changed
+40
-4
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0004_user_godfathers'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='is_banned_alcohol',
|
||||
field=models.BooleanField(help_text='Designates whether this user is denyed from buying alchool. ', verbose_name='banned from buying alcohol', default=False),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user