большое обновление фронта

This commit is contained in:
2024-01-03 12:38:37 +03:00
parent 4c94a7271a
commit a1f86691a4
9 changed files with 333 additions and 200 deletions

View File

@@ -28,7 +28,7 @@ PROJECT_ROOT = os.path.dirname(__file__)
SECRET_KEY = os.getenv('DJANGO_SECRET')
ALLOWED_HOSTS = ['localhost']
ALLOWED_HOSTS = ['localhost', '10.8.0.2']
# CSRF_TRUSTED_ORIGINS = ['https://ospaz.wawaa.ru']
# HTTPS settings https://docs.djangoproject.com/en/5.0/topics/security/

View File

@@ -16,10 +16,8 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path, include
from django.contrib.staticfiles.views import serve
import index.urls
urlpatterns = [
path('', include('index.urls')),