Darryl Ross wrote:
Szaijan wrote:
Is there a way to access the URL values assigned to the view names
within a view?  Perhaps something less inelegant than importing
urls.py and searching for the view name in the tuple?  Otherwise I've
traded hardcoding URLs into one template for hard coding them into 5+
views.

Hmm, I should probably learn to read a bit closer. Sorry, I missed "within a view,".

As Malcolm said look up the reverse() function.

Cheers
-Darryl

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to