Commit 99f8d783 authored by Florent Chehab's avatar Florent Chehab
Browse files

App renamed from rex to backend to be clearer

parent 55e35f6d
from django.db import models
from rex.models.tools import UsefullLinksField
from rex.models.module import VersionnedModule, VersionnedModuleSerializer
from backend.models.tools import UsefullLinksField
from backend.models.module import VersionnedModule, VersionnedModuleSerializer
class BasicModule(VersionnedModule):
......
from rex.models.module import BasicModule, BasicModuleSerializer
from backend.models.module import BasicModule, BasicModuleSerializer
class DriRestrictedModule(BasicModule):
......
from django.db import models
from rex.models.module import VersionnedModule
from rex.utils.friendly_path import friendly_path
from backend.models.module import VersionnedModule
from backend.utils.friendly_path import friendly_path
path_and_rename = friendly_path("uploads/universities/photos/", 'title')
......
from django.db import models
from rex.models.module import BasicModule
from backend.models.module import BasicModule
from .currency import Currency
from rest_framework import serializers
from django.core.validators import MinValueValidator
......
from django.db import models
from rest_framework import serializers, viewsets, permissions
from rex.models.university import University
from rex.models.otherCore import Semester, Specialty
from backend.models.university import University
from backend.models.otherCore import Semester, Specialty
class Offer(models.Model):
......
from django.db import models
from rest_framework import serializers, viewsets, permissions
from rex.models.otherCore import Department
from backend.models.otherCore import Department
class Specialty(models.Model):
......
from django.contrib.postgres.fields import JSONField
from rest_framework import serializers
from rex.models.tools.validateWithRestFramework import validate_with_rest_framework
from backend.models.tools.validateWithRestFramework import validate_with_rest_framework
class UrlAndDescriptionSerializer(serializers.Serializer):
......
from django.db import models
from rex.models.module import BasicModule, BasicModuleSerializer
from rex.models.location import City
from rex.models.university import University
from backend.models.module import BasicModule, BasicModuleSerializer
from backend.models.location import City
from backend.models.university import University
from django.core.validators import MinValueValidator, MaxValueValidator
from rest_framework import viewsets, permissions
......
from django.db import models
from rex.models.module import BasicModule
from rex.models.university import Campus
from backend.models.module import BasicModule
from backend.models.university import Campus
from rest_framework import viewsets, permissions
from rex.models.module import BasicModuleSerializer
from backend.models.module import BasicModuleSerializer
####################
# CultureAndStudentLife
......
from django.db import models
from rex.models.module import VersionnedModule
from rex.utils.friendly_path import friendly_path
from backend.models.module import VersionnedModule
from backend.utils.friendly_path import friendly_path
path_and_rename = friendly_path("uploads/universities/logos/", 'name')
......
from rex.models.university import University
from backend.models.university import University
from rest_framework import serializers, viewsets, permissions
from rex.models.university.campus import CampusSerializer
from backend.models.university.campus import CampusSerializer
class UniversitySerializer(serializers.ModelSerializer):
......
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