Commit 656b360d authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

astakos: Remove obsolete ProjectResourceGrant fields

parent 3bd601a9
...@@ -77,7 +77,6 @@ import astakos.im.messages as astakos_messages ...@@ -77,7 +77,6 @@ import astakos.im.messages as astakos_messages
from synnefo.lib.db.managers import ForUpdateManager from synnefo.lib.db.managers import ForUpdateManager
from synnefo.lib.ordereddict import OrderedDict from synnefo.lib.ordereddict import OrderedDict
from astakos.quotaholder.api import QH_PRACTICALLY_INFINITE
from synnefo.lib.db.intdecimalfield import intDecimalField from synnefo.lib.db.intdecimalfield import intDecimalField
from synnefo.util.text import uenc, udec from synnefo.util.text import uenc, udec
from astakos.im import presentation from astakos.im import presentation
...@@ -1686,12 +1685,8 @@ class ProjectResourceGrant(models.Model): ...@@ -1686,12 +1685,8 @@ class ProjectResourceGrant(models.Model):
resource = models.ForeignKey(Resource) resource = models.ForeignKey(Resource)
project_application = models.ForeignKey(ProjectApplication, project_application = models.ForeignKey(ProjectApplication,
null=True) null=True)
project_capacity = intDecimalField(default=QH_PRACTICALLY_INFINITE) project_capacity = intDecimalField(null=True)
project_import_limit = intDecimalField(default=QH_PRACTICALLY_INFINITE) member_capacity = intDecimalField(default=0)
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)
objects = ExtendedManager() objects = ExtendedManager()
......
Markdown is supported
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