Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
123db1a3
Commit
123db1a3
authored
Jul 16, 2015
by
Julien Furrer
Browse files
Corrigé anodate_permission
parent
bc973839
Changes
3
Show whitespace changes
Inline
Side-by-side
adim_project/adim/migrations/0012_auto_20150716_0933.py
0 → 100644
View file @
123db1a3
# -*- 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'
))},
),
]
adim_project/adim/models/annotables.py
View file @
123db1a3
...
...
@@ -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
):
...
...
adim_project/adim_project/settings/base.py
View file @
123db1a3
...
...
@@ -359,7 +359,7 @@ LOGGING = {
'class'
:
'logging.StreamHandler'
,
},
'file'
:
{
'level'
:
'
INFO
'
,
'level'
:
'
DEBUG
'
,
'class'
:
'logging.FileHandler'
,
'filters'
:
[
'add_remote_info'
,
],
'formatter'
:
'verbose_with_remote'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment