feat: hello world

This commit is contained in:
Tahinli 2024-06-27 21:21:38 +03:00
commit ed1d65fa62
29 changed files with 464 additions and 0 deletions

0
hello/__init__.py Normal file
View file

Binary file not shown.

Binary file not shown.

Binary file not shown.

3
hello/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
hello/apps.py Normal file
View file

@ -0,0 +1,6 @@
from django.apps import AppConfig
class HelloConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'hello'

View file

3
hello/models.py Normal file
View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
hello/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

6
hello/urls.py Normal file
View 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
View file

@ -0,0 +1,5 @@
from django.http import HttpResponse
def home(request):
return HttpResponse("Hello World!")