Date post: | 25-Jan-2017 |
Category: |
Technology |
Upload: | hsuan-wen-liu |
View: | 582 times |
Download: | 0 times |
Add the guestbook to every post
4/18/2015
Workflow
Models
Forms
Views
Templates
mysite —— mysite —— __init__.py | |— local_settings.py | |— settings.py | |— urls.py | |— wsgi.py |— template —— home.py | |— post.html | |— msg_add.html | |— msg_post.html |— trips —— __init__.py | |— admin.py | |— forms.py | |— models.py | |— tests.py | |— views.py
— modified— add
/ trips/ models.py
/ trips/ forms.py
/ templates/ msg_add.html
/ templates/ post.html
/ templates/ msg_post.html
/ templates/ post.html
/ trips/ Views
CSRF (Cross Site Request Forgery)
HsuanWen Liu
“Thank you.”