Django for Designers/CRUD: Difference between revisions
Content added Content deleted
imported>Aldeka |
imported>Aldeka |
||
Line 374: | Line 374: | ||
Reload your development server and your web page, and try creating a bookmark. It should appear right away on the page now! |
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"> |
Try submitting the form with a tag but no URL. <div class="instructor">Eek.</div> We see the browser try to render the entire page inside the page--because we're redirecting back to the normal index view! |
||
⚫ | |||
<source lang="bash"> |
|||
ValueError: The view bookmarks.views.index didn't return an HttpResponse object. |
|||
</source> |
|||
⚫ | |||
<source lang="python"> |
<source lang="python"> |