Fakultas Ilmu Komputer UI

Add constraint to Company.status

Name Stage Failure
failed
test-backend Test
  File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/builds/pmpl/class-project/kape/core/models/__init__.py", line 2, in <module>
from core.models.accounts import Company
File "/builds/pmpl/class-project/kape/core/models/accounts.py", line 143
status = models.IntegerField(validators=[MaxValueValidator(2), MinValueValidator(0))
^
SyntaxError: invalid syntax
ERROR: Job failed: exit code 1