From ed1d65fa6237a73a3528cd8fb65de84a5d60df21 Mon Sep 17 00:00:00 2001 From: Tahinli Date: Thu, 27 Jun 2024 21:21:38 +0300 Subject: [PATCH] feat: :sparkles: hello world --- .gitignore | 77 +++++++++++ .../inspectionProfiles/profiles_settings.xml | 6 + .idea/misc.xml | 7 + .idea/modules.xml | 8 ++ .idea/tJango.iml | 25 ++++ .idea/vcs.xml | 6 + .idea/workspace.xml | 109 ++++++++++++++++ db.sqlite3 | Bin 0 -> 131072 bytes hello/__init__.py | 0 hello/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 166 bytes hello/__pycache__/urls.cpython-312.pyc | Bin 0 -> 344 bytes hello/__pycache__/views.cpython-312.pyc | Bin 0 -> 362 bytes hello/admin.py | 3 + hello/apps.py | 6 + hello/migrations/__init__.py | 0 hello/models.py | 3 + hello/tests.py | 3 + hello/urls.py | 6 + hello/views.py | 5 + manage.py | 22 ++++ tJango/__init__.py | 0 tJango/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 167 bytes tJango/__pycache__/settings.cpython-312.pyc | Bin 0 -> 2541 bytes tJango/__pycache__/urls.cpython-312.pyc | Bin 0 -> 1108 bytes tJango/__pycache__/wsgi.cpython-312.pyc | Bin 0 -> 653 bytes tJango/asgi.py | 16 +++ tJango/settings.py | 123 ++++++++++++++++++ tJango/urls.py | 23 ++++ tJango/wsgi.py | 16 +++ 29 files changed, 464 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/tJango.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 db.sqlite3 create mode 100644 hello/__init__.py create mode 100644 hello/__pycache__/__init__.cpython-312.pyc create mode 100644 hello/__pycache__/urls.cpython-312.pyc create mode 100644 hello/__pycache__/views.cpython-312.pyc create mode 100644 hello/admin.py create mode 100644 hello/apps.py create mode 100644 hello/migrations/__init__.py create mode 100644 hello/models.py create mode 100644 hello/tests.py create mode 100644 hello/urls.py create mode 100644 hello/views.py create mode 100755 manage.py create mode 100644 tJango/__init__.py create mode 100644 tJango/__pycache__/__init__.cpython-312.pyc create mode 100644 tJango/__pycache__/settings.cpython-312.pyc create mode 100644 tJango/__pycache__/urls.cpython-312.pyc create mode 100644 tJango/__pycache__/wsgi.cpython-312.pyc create mode 100644 tJango/asgi.py create mode 100644 tJango/settings.py create mode 100644 tJango/urls.py create mode 100644 tJango/wsgi.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3649d6d --- /dev/null +++ b/.gitignore @@ -0,0 +1,77 @@ +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..b69ddd6 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d40669c --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/tJango.iml b/.idea/tJango.iml new file mode 100644 index 0000000..f09199f --- /dev/null +++ b/.idea/tJango.iml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..b46ea70 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + { + "associatedIndex": 4 +} + + + + + + + { + "keyToString": { + "ASKED_ADD_EXTERNAL_FILES": "true", + "RunOnceActivity.OpenDjangoStructureViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "git-widget-placeholder": "main", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable", + "vue.rearranger.settings.migration": "true" + } +} + + + + + + + + + + + + + + + + 1719511805110 + + + + + + \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..c97bd7b82bc705b6bd49301f5e5386dc71c74db4 GIT binary patch literal 131072 zcmeI5TZ|*wS;t-Nvfb{sefm1pWTvOxp6%T+J-zMwWtPD9&UR*+o$cA33!9OMin3kZ zDkkc>8L#qepj|t-98Urae<0N%FiJje0zu zv-CgzYkn@$7uihEU&;3Ups!~=FW>(uA2(+I%Wah2pM%V?9|S-E1V8`;KmY_l00ck) z1V8`;K;U~%V171CPG=_H@~}T?o8@PlwB^g-zT(2s(}3Y_t=JL{hCbs-3DkBGKEAjlmAGV9NjP-73_{Uo+EI{Wb^q# z;*Ajb`IzY^Z}_>d)vCm&*=nm=rK0MsR$p}VozJ8b`Ag&E!EEb9+U`NGYt`BzT`rx?<&*g<0dit?-h|nC zt-f}YUX!AxPGzt7eV&!e8+MGGBJr&^@AvVloUd@|hBuYV7c=QCpU9*K6=${iY;>P}7DRm*pp)v|kI6XHa^upyHxqHMTIS*{FOG-{jNt*e?uF;z$; zyyRk~?_%VHkSt^h>FoL#F{Kh>LKr=RB(u3hA)A*7-HH?4=p!ZbsbVV3e#PTw_dV=i z*;m<@*nRdH_VeuFz?6mr2!H?xfB*=900@8p2!H?xfB*=9z_AF-%HCCp-`(3{atq<0 zcX?dw6w$WOgm+GOWt+U zx?bIFX*>qfo|z!0e)bs;`*-$d?C;o@*)LH79}oZm5C8!X009sH0T2KI5C8!X0D-4P zU`}2JL=orsk5?i1KvQ zNWZ9%O+4wZ=rx^QRcNfuE<=B znax%3?`P>X3TZj+6-O7hnf=3yRE*w?pw{*p$M0Jh0(v&|>I1hi6!dKj2_k)lUTvUS zdbx(a0T&?>=jpWtX*E42R9JVneJR$i3jwlR&yN{;tPE~zh_ZHGp!W~BwV}+);MRsb zYv+sfjsf-BF|N_t%T2jZYtIYx0zvSlq!4S~b@!#xj;MGs;XJ(~5M0d~LhW{jOv{qq z4IoQHq}|ex*td+)O98=^buQ3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gP2GK6nubry{3xLj|z+V|(r5l8z@DoW#Rz!TMcb}pd2O|xazQE_qU z-?pAODdw};Vm6bpdQ#8g)IlwDkOQaQo*nN`;+yD7SpPrl4h#7p00JNY0w4eaAOHd& z00JNY0wD1G6Ttod^WTQ30SJHq2!H?xfB*=900@8p2!H?x97X{5|A!GmJ_vvS2!H?x zfB*=900@8p2!H?xJpTl6|Ns2AA!+~uAOHd&00JNY0w4eaAOHd&00M^*!2SPWgpdyc zAOHd&00JNY0w4eaAOHd&00PfHfiP9U&))N}Z?L~*f69K3y-x{zKmY_l00ck)1V8`; zKmY_l00ck)1fCLsS-(lLlcg zr4*hL|GNLo7$ui^()t~OX-W1di{fWY=qF?7r>0tu`2D|U>M2zTZb1M9KmY_l00ck) z1V8`;KmY_l00f>10(k!anP>)x009sH0T2KI5C8!X009sH0T2Lzr%C|#|4$V!oPz)e ZfB*=900@8p2!H?xfB*=9z%xPM{{b&k^v3`I literal 0 HcmV?d00001 diff --git a/hello/__init__.py b/hello/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/hello/__pycache__/__init__.cpython-312.pyc b/hello/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..177044444675964b51d5b782957533bec9ee2732 GIT binary patch literal 166 zcmX@j%ge<81f{EM(?IlN5P=Rpvj9b=GgLBYGWxA#C}INgK7-W!a@Ehs&rQ`YNzBO1 z%gNMt$xklLP0cGQ)_2ZNN!1UiOwLFw$_*&W&q_@O3YK^!=B4NBXQbxj%DIs3b}Zg+!V?Y`a)4C03qt73m-agOAX2qHic4KaY@p7Jz} zDG-lH5LD8lv-A$ zqDac2=`~hW)}^#8lS&!uBe#JwLfm0aEp1snkp)_0dBR-~uahhR5e#1 literal 0 HcmV?d00001 diff --git a/hello/__pycache__/views.cpython-312.pyc b/hello/__pycache__/views.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e442efe57cce97df10c837916459365a534b1109 GIT binary patch literal 362 zcmX@j%ge<81lw2FrX>OC#~=<2FhLog#ej_I3@HpLj5!Rsj8Tk?3@J=43{gy#%$h7O zL5fx~-s15nDJcj_EiTBy@k-1~&)3fYnX6xxnOa_~S5SG21!P1K2hcngATH(w z5)BM@xW#AiUFKH5z@q*cD8S&S$$X1DB@3iqF9YbcB9L0Jrj-muoFFzkkod)6lbfGX fnv-f*!~^7l+z2-B12ZEd<6Q=o&uom08eruBaj8>$ literal 0 HcmV?d00001 diff --git a/hello/admin.py b/hello/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/hello/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/hello/apps.py b/hello/apps.py new file mode 100644 index 0000000..bfc55f0 --- /dev/null +++ b/hello/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class HelloConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'hello' diff --git a/hello/migrations/__init__.py b/hello/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/hello/models.py b/hello/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/hello/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/hello/tests.py b/hello/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/hello/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/hello/urls.py b/hello/urls.py new file mode 100644 index 0000000..2f63793 --- /dev/null +++ b/hello/urls.py @@ -0,0 +1,6 @@ +from django.urls import path +from hello import views + +urlpatterns = [ + path("", views.home, name="home"), +] diff --git a/hello/views.py b/hello/views.py new file mode 100644 index 0000000..89bfe36 --- /dev/null +++ b/hello/views.py @@ -0,0 +1,5 @@ +from django.http import HttpResponse + + +def home(request): + return HttpResponse("Hello World!") diff --git a/manage.py b/manage.py new file mode 100755 index 0000000..522182b --- /dev/null +++ b/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tJango.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/tJango/__init__.py b/tJango/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tJango/__pycache__/__init__.cpython-312.pyc b/tJango/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ef95a9ac93e40d6f711b04a37ff104da62a21b97 GIT binary patch literal 167 zcmX@j%ge<81njG8(?IlN5P=Rpvj9b=GgLBYGWxA#C}INgK7-W!a?{Vq&rQ`YNzBO1 z%gNMt$xklLP0cGQ)_2ZNN!1UiOwLFw$_*&W&q_@O3YK^!=B4MusQCEIyv&mLc)fzk hUmP~M`6;D2sdh!IKw}w!xERFv$jr#dSi}ru0RVs7Dfa*X literal 0 HcmV?d00001 diff --git a/tJango/__pycache__/settings.cpython-312.pyc b/tJango/__pycache__/settings.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..95b567618759f4febdab45eafc1f2ee61e141be2 GIT binary patch literal 2541 zcmb7GOK%fb6rS<>9mg0Fpp^!J0EcD_h482lWnxc)i(|WfkaiXwjeT$IG4n8U$D|pl zlK0(oQ?(0L>?(drH$+_!%_>q?mAY_1-LUGJv7J~>q^6cV_uljP&bi+`=Z=4m$0HPc zf^UA<`Z-2Xe>#iFCorCT_!}m_P>2#JL?e$vs~*8aQyvO?u=fo;vg(E>Zb##r@wDs4 zIFdWFlVm~wd4(YI386M6gxeJIzovx?nrrSOtiOvc0XhBFpyfg4iqebB?Ixn2t zxsbUi-GFUH@?A-5>kPrBDQj)QZ0QDLe&xz~hTg?3lZ`~yv4#!F#E5C`FxQalvMeE0 z))-<+hB>yp#`Fn*Fk{RW_9lB5y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DB}disRE-FY?hEf5GV-o9jI0$ zWhQ)tFbjo;$2wn=E@Tvu6s>s6NU|&r1=7Jtr5DI~{63%xOZd)4o`xmkGHnTZ$Ab?r zhCvErnlUbY2#1_eNGF3J%W7vuvy8u6$7=;zz?4GuREdpx-R@GYD`J!^!8D-cURT>) z*I7>jA#U#|VR#DlZ!DOM2-ifsl5s=liNg9HHagx5#6W}e+&>s?reTufI31}Xl=-wY z-QcD^n`L33qN3WPV@c12!@87yRj#TXo-TMpvW{IUi}KHGcM>*2s(?+Vu6C5TUDtJf z>Oa#p3Om3wPF=IGbj6FAI=TS6PDGM~l@E5?WfXeu&K5I+f%sA6ua(VxM&x&{{yk!~uIK@_J+j2^KtrzDjEtusu})+CGq zPPeLw5U84v=Fp&CHo54mQik({+~=1Sq#jtYsPUdf%SU0~}o&9SED@XpJf3$YEraY&1Ytj5T$Mq=x2F~M2yZ`_I literal 0 HcmV?d00001 diff --git a/tJango/__pycache__/wsgi.cpython-312.pyc b/tJango/__pycache__/wsgi.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c34058b3964283bcf2f0f757656ee7c32a16a881 GIT binary patch literal 653 zcmYk4F>ezw6vyqm(o`235Tcze#1aY4VPL5cQcFsd3erj`LdtS+&o7B1pM5$zDXGNJ z0r3&|3@9Ikr3eJlO(4X;2Flh6U$0U72ES)NzxV(7$)DEO1LUkSe>-@G5&BhZmbP*k zERJ080ddqr9CJ_N9(LZBUgGzBi~x_O!5W_k><4TGR<3A{GxThN)aTR!jOTG@PHVAU}SA- zwkYK~HX$DuP)nv*ClnNY95(1kA6rd1q*BikP?jE>p`gK^;+35`&hHMvM#Wil4I|%d z?rnEk`%!oI@UY!!b)%R2%~vmWPi~cu4-Hr=)X>x`c_oS*K@{blHu>$6Ba9t>Sai*N zr;}GeO+}_v9=Jjd12&O1uU-@Uh!zFV`HtgFfLb;ZN($Q4@uYw@^qJ;B4`%U*WywJ~ zc|%K>r7PsZbauY>q#XCttmay}AB0T9Eq{HC@jtJER~B~=4t}FYKalr6I1Rp|jn8P~ YY%@G-Y=1>NKWq2C)b5{FvzxByKawTCmH+?% literal 0 HcmV?d00001 diff --git a/tJango/asgi.py b/tJango/asgi.py new file mode 100644 index 0000000..427b598 --- /dev/null +++ b/tJango/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for tJango project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tJango.settings') + +application = get_asgi_application() diff --git a/tJango/settings.py b/tJango/settings.py new file mode 100644 index 0000000..9eb0c27 --- /dev/null +++ b/tJango/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for tJango project. + +Generated by 'django-admin startproject' using Django 5.0.6. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-samo*m*8!2jb+0b(7e8e$to@suc7z^5uy*4lm6ojjq5w9jj9h#' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'tJango.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'tJango.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/tJango/urls.py b/tJango/urls.py new file mode 100644 index 0000000..340ebd6 --- /dev/null +++ b/tJango/urls.py @@ -0,0 +1,23 @@ +""" +URL configuration for tJango project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path, include + +urlpatterns = [ + path("", include("hello.urls")), + path('admin/', admin.site.urls), +] diff --git a/tJango/wsgi.py b/tJango/wsgi.py new file mode 100644 index 0000000..b6f1dd8 --- /dev/null +++ b/tJango/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for tJango project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tJango.settings') + +application = get_wsgi_application()