Peter Hoffmann
About
Archive
Talks
RSS Feed
Share
Peter Hoffmann
Follow
Director Data Engineering at
Blue Yonder
. Python Developer, Conference Speaker, Mountaineer
September 6, 2008
Django Print url of view without hardcoding the url
stackoverflow
python
This my Answer to the stackoverflow question:
Django: Print url of view without hardcoding the url
:
If you use
named url patterns
you can do the follwing in your template
{% url create_object %}