Commit e106f580 authored by Florent Chehab's avatar Florent Chehab
Browse files

UniversityScholarhip added

parent 97cab068
from .module import Module # noqa: F401
from .basicModule import BasicModule # noqa: F401
from .scholarship import Scholarship # noqa: F401
......@@ -6,8 +6,8 @@ from django.core.validators import MinValueValidator
class Scholarship(BasicModule):
type = models.CharField(required=True, max_length=200)
currency = models.CharField(required=True, max_length=50)
type = models.CharField(max_length=200) # TODO add required
currency = models.CharField(max_length=50) # TODO add required
amount_min = models.DecimalField(
from .university import University, UniversityViewSet # noqa: F401
from .campus import MainCampus, MainCampusViewSet # noqa: F401
from .universityScholarship import UniversityScholarship # noqa: F401
from rex.models.module import Scholarship
class UniversityScholarship(Scholarship):
module_name = "University Scholarship"
Supports Markdown
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