1. 程式人生 > >Part 1 - Getting Started(1-3)

Part 1 - Getting Started(1-3)

pre ews djang clas -c django request htm complex

https://simpleisbetterthancomplex.com/series/2017/09/04/a-complete-beginners-guide-to-django-part-1.html
https://github.com/sibtc/django-beginners-guide/tree/v0.1-lw
http://127.0.0.1:8000/
#urls.py
from django.conf.urls import url
from django.contrib import admin
from boards import views
urlpatterns = [
    url(r^$, views.home, name=
home), url(r^admin/, admin.site.urls), ] #views.py from django.http import HttpResponse def home(request): return HttpResponse(Hello, World!)

Part 1 - Getting Started(1-3)