Jump to content

Django for Designers: Difference between revisions

→‎Handling those URLs with some basic views: It's not a method 'cause it's not on a class
imported>Paulproteus
(→‎With runserver: ip-shower => address-shower)
imported>Paulproteus
(→‎Handling those URLs with some basic views: It's not a method 'cause it's not on a class)
Line 444:
Save views.py.
 
Navigate to http://localhost:8000/tags/awesome/ . It’ll run the tag() methodfunction and display whatever tag name you provide in the URL.
 
Add a little html to the ‘question’ view. For example, wrap the question_id in strong tags and verify that the view is indeed bold!
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.