Commit 7c509208 authored by Florent Chehab's avatar Florent Chehab
Browse files

Merge branch 'new_file_orga' into 'master'

New repo organization

Closes #38

See merge request !42
parents 818af843 f794902c
Pipeline #34760 failed with stages
in 2 minutes and 40 seconds
from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelVersionnedViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelVersionnedViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
# Data model based on : https://unstats.un.org/unsd/methodology/m49/overview/
......
from django.db import models
from backend.models.country import Country
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.country import Country
from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class CountryDri(BasicModule):
......
from django.db import models
from backend.models.country import Country
from backend.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.country import Country
from backend_app.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class CountryScholarship(Scholarship):
......
from django.db import models
from backend.models.abstract.taggedItem import TaggedItem, TaggedItemSerializer, TaggedItemViewSet
from backend.models.country import Country
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.abstract.taggedItem import TaggedItem, TaggedItemSerializer, TaggedItemViewSet
from backend_app.models.country import Country
from backend_app.utils import get_model_config, get_viewset_permissions
class CountryTaggedItem(TaggedItem):
......
from django.db import models
from django.core.validators import MinValueValidator
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class Currency(MyModel):
......
from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class Department(MyModel):
......
from django.db import models
from backend.models.university import University
from backend.models.other_core import Semester, Specialty
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.university import University
from backend_app.models.other_core import Semester, Specialty
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class Offer(MyModel):
......
from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class Semester(MyModel):
......
from django.db import models
from backend.models.other_core import Department
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.other_core import Department
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class Specialty(MyModel):
......
from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.fields import JSONField
from backend.utils import get_viewset_permissions, get_model_config
from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend_app.fields import JSONField
from backend_app.utils import get_viewset_permissions, get_model_config
class Tag(MyModel):
......
from django.db import models
from backend.models.abstract.my_model import MyModel
from backend.utils import get_model_config
from backend_app.models.abstract.my_model import MyModel
from backend_app.utils import get_model_config
from django.core.exceptions import ValidationError
from rest_framework.validators import ValidationError as RFValidationError
from backend.validators.tag.url import validate_extension
from backend_app.validators.tag.url import validate_extension
from django.conf import settings
from backend.models.abstract.my_model import MyModelSerializer, MyModelViewSet
from backend.utils import get_viewset_permissions
from backend_app.models.abstract.my_model import MyModelSerializer, MyModelViewSet
from backend_app.utils import get_viewset_permissions
def validate_extension_django(url):
......
from django.db import models
from backend.models.university import University
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.university import University
from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class UniversityDri(BasicModule):
......
from django.db import models
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.models.university import University
from backend.models.currency import Currency
from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend_app.models.university import University
from backend_app.models.currency import Currency
from django.core.validators import MinValueValidator
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.utils import get_model_config, get_viewset_permissions
class UniversityInfo(BasicModule):
......
from django.db import models
from backend.models.university import University
from backend.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.models.university import University
from backend_app.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet
from backend_app.utils import get_model_config, get_viewset_permissions
class UniversityScholarship(Scholarship):
......
from django.db import models
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.models.university import University
from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend_app.models.university import University
from rest_framework import serializers
from backend.utils import get_model_config, get_viewset_permissions
from backend_app.utils import get_model_config, get_viewset_permissions
def semester_error(semester_name):
......
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