From 537a7adfaf2f90e758befd0a6359ce750e0448cf Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Tue, 3 Oct 2017 15:25:06 +0200 Subject: [PATCH] Add state mgirations --- .../migrations/0022_auto_20171003_1525.py | 19 +++++++++++++++++++ production/models.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 production/migrations/0022_auto_20171003_1525.py diff --git a/production/migrations/0022_auto_20171003_1525.py b/production/migrations/0022_auto_20171003_1525.py new file mode 100644 index 000000000..50746ff3a --- /dev/null +++ b/production/migrations/0022_auto_20171003_1525.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.4 on 2017-10-03 13:25 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('production', '0021_auto_20171003_1512'), + ] + + operations = [ + migrations.AlterModelOptions( + name='productionstream', + options={'permissions': (('can_work_for_stream', 'Can work for stream'), ('can_perform_supervisory_actions', 'Can perform supervisory actions'))}, + ), + ] diff --git a/production/models.py b/production/models.py index e9e97da0b..17f2d73c4 100644 --- a/production/models.py +++ b/production/models.py @@ -37,7 +37,7 @@ class ProductionStream(models.Model): class Meta: permissions = ( ('can_work_for_stream', 'Can work for stream'), - # ('can_perform_supervisory_actions', 'Can perform supervisory actions'), + ('can_perform_supervisory_actions', 'Can perform supervisory actions'), ) def __str__(self): -- GitLab