From bb8cb80c938ab8f257c29c5f3c78bbf15997d51c Mon Sep 17 00:00:00 2001 From: omer0313 Date: Wed, 17 Dec 2025 22:20:32 +0300 Subject: [PATCH 1/7] Rename project from coding-project-template to fullstack_developer_capstone --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5884e26a5b..04a22a5318 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# coding-project-template \ No newline at end of file +# fullstack_developer_capstone From 933a74cc8e87f492a576ee5e822c6a78f24e2bc8 Mon Sep 17 00:00:00 2001 From: omer0313 <193496373+omer0313@users.noreply.github.com> Date: Wed, 17 Dec 2025 16:24:28 -0500 Subject: [PATCH 2/7] Add Contact page and update URLs and settings --- server/djangoproj/settings.py | 8 ++--- server/djangoproj/urls.py | 2 ++ server/frontend/static/About.html | 6 ++-- server/frontend/static/Contact.html | 51 +++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 server/frontend/static/Contact.html diff --git a/server/djangoproj/settings.py b/server/djangoproj/settings.py index e0b1092a5c..542266b21c 100644 --- a/server/djangoproj/settings.py +++ b/server/djangoproj/settings.py @@ -28,8 +28,8 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] -CSRF_TRUSTED_ORIGINS = [] +ALLOWED_HOSTS=['localhost','https://omerisler031-8000.theianext-0-labs-prod-misc-tools-us-east-0.proxy.cognitiveclass.ai'] +CSRF_TRUSTED_ORIGINS=['https://omerisler031-8000.theianext-0-labs-prod-misc-tools-us-east-0.proxy.cognitiveclass.ai'] REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': [], @@ -61,7 +61,7 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [], + 'DIRS': [os.path.join(BASE_DIR,'frontend/static')], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -134,5 +134,5 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -STATICFILES_DIRS = [] +STATICFILES_DIRS = [os.path.join(BASE_DIR,'frontend/static')] diff --git a/server/djangoproj/urls.py b/server/djangoproj/urls.py index 6808da9141..5825f366ef 100644 --- a/server/djangoproj/urls.py +++ b/server/djangoproj/urls.py @@ -23,4 +23,6 @@ path('admin/', admin.site.urls), path('djangoapp/', include('djangoapp.urls')), path('', TemplateView.as_view(template_name="Home.html")), + path('about/', TemplateView.as_view(template_name="About.html")), + path('contact/', TemplateView.as_view(template_name="Contact.html")), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) diff --git a/server/frontend/static/About.html b/server/frontend/static/About.html index 484efd960f..9c50cc4957 100644 --- a/server/frontend/static/About.html +++ b/server/frontend/static/About.html @@ -1,6 +1,7 @@ - + +