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
2c25804e
Commit
2c25804e
authored
Apr 27, 2015
by
Julien Furrer
Browse files
Chaged Layoutproject in a TSD-like way - step 3
parent
9926b36c
Changes
3
Hide whitespace changes
Inline
Side-by-side
adim_project/adim/models/annotables.py
View file @
2c25804e
# coding=utf-8
# coding=utf-8
from
__future__
import
unicode_literals
from
__future__
import
unicode_literals
import
os
import
os
import
user
import
uuid
import
uuid
,
random
import
random
from
django.db
import
models
from
django.db
import
models
from
django.conf
import
settings
# from django.contrib.contenttypes import generic
# from django.contrib.contenttypes import generic
from
django.utils.translation
import
ugettext
as
_
from
django.utils.translation
import
ugettext
as
_
from
django.contrib.auth.models
import
User
from
django.contrib.auth.models
import
User
...
@@ -14,9 +16,9 @@ from jsonfield import JSONField
...
@@ -14,9 +16,9 @@ from jsonfield import JSONField
# from sorl.thumbnail import ImageField, get_thumbnail
# from sorl.thumbnail import ImageField, get_thumbnail
from
eav.models
import
BaseEntity
,
BaseSchema
,
BaseAttribute
,
BaseChoice
from
eav.models
import
BaseSchema
,
BaseAttribute
,
BaseChoice
from
adim_
project.
utils.decorators
import
cache
from
adim_utils.decorators
import
cache
__all__
=
(
'AOType'
,
'AOSchema'
,
'AOChoice'
,
'AOAttribute'
,
'AnObj'
,
'AnObjMembership'
)
__all__
=
(
'AOType'
,
'AOSchema'
,
'AOChoice'
,
'AOAttribute'
,
'AnObj'
,
'AnObjMembership'
)
...
...
adim_project/adim_
project/
utils/__init__.py
→
adim_project/adim_utils/__init__.py
View file @
2c25804e
File moved
adim_project/adim_
project/
utils/decorators.py
→
adim_project/adim_utils/decorators.py
View file @
2c25804e
File moved
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