Django for Designers: Difference between revisions

Content added Content deleted
imported>Paulproteus
imported>Paulproteus
Line 381: Line 381:
Save views.py.
Save views.py.


Navigate to [http://localhost:8000/tags/awesome/]. It’ll run the tag() method and display whatever tag name you provide in the URL.
Navigate to http://localhost:8000/tags/awesome/ . It’ll run the tag() method 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!
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!