django with mysql (part-2)

step01:

write a ( views.py ) file 

vim views.py

 

Insert the below code :

 

step02:

configure your ( urls.py )

vim urls.py

 

step03:

check your website ..

 

posted @ 2015-07-12 10:10  Landpack  阅读(129)  评论(0编辑  收藏  举报