mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add viewable flag for user
This commit is contained in:
19
core/migrations/0008_user_is_subscriber_viewable.py
Normal file
19
core/migrations/0008_user_is_subscriber_viewable.py
Normal file
@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0007_auto_20160813_0522'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='is_subscriber_viewable',
|
||||
field=models.BooleanField(default=True, verbose_name='is subscriber viewable'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user