Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
656b360d
Commit
656b360d
authored
Apr 18, 2013
by
Giorgos Korfiatis
Browse files
astakos: Remove obsolete ProjectResourceGrant fields
parent
3bd601a9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/migrations/0031_auto__del_field_projectresourcegrant_member_import_limit__del_field_pr.py
0 → 100644
View file @
656b360d
This diff is collapsed.
Click to expand it.
snf-astakos-app/astakos/im/models.py
View file @
656b360d
...
...
@@ -77,7 +77,6 @@ import astakos.im.messages as astakos_messages
from
synnefo.lib.db.managers
import
ForUpdateManager
from
synnefo.lib.ordereddict
import
OrderedDict
from
astakos.quotaholder.api
import
QH_PRACTICALLY_INFINITE
from
synnefo.lib.db.intdecimalfield
import
intDecimalField
from
synnefo.util.text
import
uenc
,
udec
from
astakos.im
import
presentation
...
...
@@ -1686,12 +1685,8 @@ class ProjectResourceGrant(models.Model):
resource
=
models
.
ForeignKey
(
Resource
)
project_application
=
models
.
ForeignKey
(
ProjectApplication
,
null
=
True
)
project_capacity
=
intDecimalField
(
default
=
QH_PRACTICALLY_INFINITE
)
project_import_limit
=
intDecimalField
(
default
=
QH_PRACTICALLY_INFINITE
)
project_export_limit
=
intDecimalField
(
default
=
QH_PRACTICALLY_INFINITE
)
member_capacity
=
intDecimalField
(
default
=
QH_PRACTICALLY_INFINITE
)
member_import_limit
=
intDecimalField
(
default
=
QH_PRACTICALLY_INFINITE
)
member_export_limit
=
intDecimalField
(
default
=
QH_PRACTICALLY_INFINITE
)
project_capacity
=
intDecimalField
(
null
=
True
)
member_capacity
=
intDecimalField
(
default
=
0
)
objects
=
ExtendedManager
()
...
...
Write
Preview
Markdown
is supported
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