forked from DGNum/gestioCOF
b68590ffd7
BDS + COF The permissions assignation is triggered by the `post_migrate` signal since the permission table will only be populated after the migrations have been applied.
25 lines
602 B
Python
25 lines
602 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('bds', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='bdsprofile',
|
|
options={
|
|
'permissions': [
|
|
('member', 'Is a BDS member'),
|
|
('buro', 'Is part of the BDS staff')
|
|
],
|
|
'verbose_name': 'Profil BDS',
|
|
'verbose_name_plural': 'Profils BDS'
|
|
},
|
|
),
|
|
]
|