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
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()
......
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