Gitlab CSE Unil

Commit 123db1a3 authored by Julien Furrer's avatar Julien Furrer
Browse files

Corrigé anodate_permission

parent bc973839
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('adim', '0011_auto_20150716_0911'),
]
operations = [
migrations.AlterModelOptions(
name='envparam',
options={'verbose_name': 'Environment params', 'permissions': (('set_env_cimaf', 'Set CIMAF environment'), ('set_env_anodate', 'Set Anodate environment'))},
),
]
......@@ -273,7 +273,7 @@ class EnvParam(models.Model):
verbose_name = "Environment params"
permissions = (
('set_env_cimaf', "Set CIMAF environment"),
('set_env_playground', "Set PlayGround environment"),
('set_env_anodate', "Set Anodate environment"),
)
def init(self):
......
......@@ -359,7 +359,7 @@ LOGGING = {
'class': 'logging.StreamHandler',
},
'file': {
'level': 'INFO',
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filters': ['add_remote_info', ],
'formatter': 'verbose_with_remote',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment