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

Merge branch 'app_renamed' into 'master'

App renamed from rex to backend to be clearer

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