Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[최윤호] Homework 2 : hello world 출력하기 #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added study/db.sqlite3
Empty file.
Binary file added study/study/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added study/study/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file added study/study/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file added study/study/__pycache__/views.cpython-311.pyc
Binary file not shown.
Binary file added study/study/__pycache__/wsgi.cpython-311.pyc
Binary file not shown.
2 changes: 2 additions & 0 deletions study/study/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"""
from django.contrib import admin
from django.urls import path
from study.views import hello

urlpatterns = [
path("admin/", admin.site.urls),
path("hello/", hello)
]
4 changes: 4 additions & 0 deletions study/study/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from django.shortcuts import render
from django.http import HttpResponse
def hello(request):
return HttpResponse("Hello World")