init: profils

This commit is contained in:
starnakin 2023-10-24 18:28:42 +02:00
parent 82f2e4647c
commit 83c8aee895
8 changed files with 19 additions and 1 deletions

View File

View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class ProfilsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'profils'

View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View File

@ -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! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
CSRF_TRUSTED_ORIGINS = ['https://code.chauvet.pro'] CSRF_TRUSTED_ORIGINS = ['https://code.chauvet.pro', 'https://django.chauvet.pro']
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]