Commit e106f580 authored by Florent Chehab's avatar Florent Chehab

UniversityScholarhip added

parent 97cab068
Pipeline #26282 failed with stages
in 1 minute and 3 seconds
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(
max_digits=20,
decimal_places=2,
......
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"
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