Anonymous user
Django for Designers/CRUD: Difference between revisions
→CRUD with asynchronous Javascript
imported>Aldeka |
imported>Aldeka |
||
Line 374:
Reload your development server and your web page, and try creating a bookmark. It should appear right away on the page now!
Try submitting the form with a tag but no URL. <div class="instructor">
▲Eek. Our index view doesn't handle the case where the request is a POST, but the form doesn't validate, and Django noticed this and returned an error. Let's fix this by editing the ''index'' function in ''views.py'' again:
<source lang="python">
|