diff --git a/django/trancendence/profils/__init__.py b/django/trancendence/profils/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/django/trancendence/profils/admin.py b/django/trancendence/profils/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/django/trancendence/profils/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/django/trancendence/profils/apps.py b/django/trancendence/profils/apps.py new file mode 100644 index 0000000..9d73757 --- /dev/null +++ b/django/trancendence/profils/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ProfilsConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'profils' diff --git a/django/trancendence/profils/migrations/__init__.py b/django/trancendence/profils/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/django/trancendence/profils/models.py b/django/trancendence/profils/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/django/trancendence/profils/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/django/trancendence/profils/tests.py b/django/trancendence/profils/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/django/trancendence/profils/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/django/trancendence/profils/views.py b/django/trancendence/profils/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/django/trancendence/profils/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/django/trancendence/trancendence/settings.py b/django/trancendence/trancendence/settings.py index 4d306fa..f789e24 100644 --- a/django/trancendence/trancendence/settings.py +++ b/django/trancendence/trancendence/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-18!@88-wm-!skec9^n-85n(f$my^#mh3!#@f=_e@=*arh_yyjj # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -CSRF_TRUSTED_ORIGINS = ['https://code.chauvet.pro'] +CSRF_TRUSTED_ORIGINS = ['https://code.chauvet.pro', 'https://django.chauvet.pro'] ALLOWED_HOSTS = ["*"]