✨ Register: Show list of active products

🛠 Generate apollo client typescript helpers from graphql schema
This commit is contained in:
nikolark committed 2021-10-30 17:29:16 +02:00
1 parent fa89353525
commit f0656b34e9
13 files changed
+8165 -173

No files matched your search

+8
View File
@@ -64,6 +64,7 @@ TEMPLATES = [
]
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django.middleware.common.CommonMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
@@ -84,6 +85,7 @@ INSTALLED_APPS = [
"django_extensions",
"rest_framework",
"easy_thumbnails",
"corsheaders",
]
LOCAL_APPS = [
"main",
@@ -133,6 +135,12 @@ LOGGING = {
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
CORS_ALLOWED_ORIGINS = [
"https://bbs.neuf.no",
"http://localhost:8000",
"http://localhost:3000",
]
try:
from .local_settings import *
except ImportError: