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

removed deploy CI #42

Repo structure complete redesign
Fixes #38
parent 818af843
from django.db import models from django.db import models
from backend.models.country import Country from backend_app.models.country import Country
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class CountryDri(BasicModule): class CountryDri(BasicModule):
......
from django.db import models from django.db import models
from backend.models.country import Country from backend_app.models.country import Country
from backend.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet from backend_app.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class CountryScholarship(Scholarship): class CountryScholarship(Scholarship):
......
from django.db import models from django.db import models
from backend.models.abstract.taggedItem import TaggedItem, TaggedItemSerializer, TaggedItemViewSet from backend_app.models.abstract.taggedItem import TaggedItem, TaggedItemSerializer, TaggedItemViewSet
from backend.models.country import Country from backend_app.models.country import Country
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class CountryTaggedItem(TaggedItem): class CountryTaggedItem(TaggedItem):
......
from django.db import models from django.db import models
from django.core.validators import MinValueValidator from django.core.validators import MinValueValidator
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class Currency(MyModel): class Currency(MyModel):
......
from django.db import models from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class Department(MyModel): class Department(MyModel):
......
from django.db import models from django.db import models
from backend.models.university import University from backend_app.models.university import University
from backend.models.other_core import Semester, Specialty from backend_app.models.other_core import Semester, Specialty
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class Offer(MyModel): class Offer(MyModel):
......
from django.db import models from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class Semester(MyModel): class Semester(MyModel):
......
from django.db import models from django.db import models
from backend.models.other_core import Department from backend_app.models.other_core import Department
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class Specialty(MyModel): class Specialty(MyModel):
......
from django.db import models from django.db import models
from backend.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModel, MyModelSerializer, MyModelViewSet
from backend.fields import JSONField from backend_app.fields import JSONField
from backend.utils import get_viewset_permissions, get_model_config from backend_app.utils import get_viewset_permissions, get_model_config
class Tag(MyModel): class Tag(MyModel):
......
from django.db import models from django.db import models
from backend.models.abstract.my_model import MyModel from backend_app.models.abstract.my_model import MyModel
from backend.utils import get_model_config from backend_app.utils import get_model_config
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
from rest_framework.validators import ValidationError as RFValidationError 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 django.conf import settings
from backend.models.abstract.my_model import MyModelSerializer, MyModelViewSet from backend_app.models.abstract.my_model import MyModelSerializer, MyModelViewSet
from backend.utils import get_viewset_permissions from backend_app.utils import get_viewset_permissions
def validate_extension_django(url): def validate_extension_django(url):
......
from django.db import models from django.db import models
from backend.models.university import University from backend_app.models.university import University
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class UniversityDri(BasicModule): class UniversityDri(BasicModule):
......
from django.db import models from django.db import models
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.models.university import University from backend_app.models.university import University
from backend.models.currency import Currency from backend_app.models.currency import Currency
from django.core.validators import MinValueValidator 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): class UniversityInfo(BasicModule):
......
from django.db import models from django.db import models
from backend.models.university import University from backend_app.models.university import University
from backend.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet from backend_app.models.abstract.scholarship import Scholarship, ScholarshipSerializer, ScholarshipViewSet
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class UniversityScholarship(Scholarship): class UniversityScholarship(Scholarship):
......
from django.db import models from django.db import models
from backend.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet from backend_app.models.abstract.basic_module import BasicModule, BasicModuleSerializer, BasicModuleViewSet
from backend.models.university import University from backend_app.models.university import University
from rest_framework import serializers 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): def semester_error(semester_name):
......
from django.db import models from django.db import models
from backend.models.abstract.taggedItem import TaggedItem, TaggedItemSerializer, TaggedItemViewSet from backend_app.models.abstract.taggedItem import TaggedItem, TaggedItemSerializer, TaggedItemViewSet
from backend.models.university import University from backend_app.models.university import University
from backend.utils import get_model_config, get_viewset_permissions from backend_app.utils import get_model_config, get_viewset_permissions
class UniversityTaggedItem(TaggedItem): class UniversityTaggedItem(TaggedItem):
......
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