[Python] 1-4. Python Django Project APP Creation - Hello World!! (장고 프로젝트 Hello Word 띄우기)
1. python manage.py startapp 2. Modify code and add new code as below. Basically we’re saying whenever the view function homePageView is called, return the text “Hello, World!” More specifically, we’ve imported the built-in HttpResponse method so we can return a response object to the user. Our function homePageView accepts the request object and returns a response with the string Hello, World! ..
2018. 9. 19. 16:11