feat: ✨ hello world
This commit is contained in:
commit
ed1d65fa62
29 changed files with 464 additions and 0 deletions
0
hello/__init__.py
Normal file
0
hello/__init__.py
Normal file
BIN
hello/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
hello/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
hello/__pycache__/urls.cpython-312.pyc
Normal file
BIN
hello/__pycache__/urls.cpython-312.pyc
Normal file
Binary file not shown.
BIN
hello/__pycache__/views.cpython-312.pyc
Normal file
BIN
hello/__pycache__/views.cpython-312.pyc
Normal file
Binary file not shown.
3
hello/admin.py
Normal file
3
hello/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
hello/apps.py
Normal file
6
hello/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class HelloConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'hello'
|
0
hello/migrations/__init__.py
Normal file
0
hello/migrations/__init__.py
Normal file
3
hello/models.py
Normal file
3
hello/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
hello/tests.py
Normal file
3
hello/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
6
hello/urls.py
Normal file
6
hello/urls.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.urls import path
|
||||
from hello import views
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.home, name="home"),
|
||||
]
|
5
hello/views.py
Normal file
5
hello/views.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from django.http import HttpResponse
|
||||
|
||||
|
||||
def home(request):
|
||||
return HttpResponse("Hello World!")
|
Loading…
Add table
Add a link
Reference in a new issue