This could use reverse() or some other mechanism: https://docs.djangoproject.com/en/1.8/ref/urlresolvers/#reverse
Tested this on stage and it worked great. :)
Attachment #8816511 - Flags: review?(emorley)
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/c62291a2ad85f4704f4183af6de9bff7e0cbf241 Bug 1318691 - Replace backends.py hard-coded resource path with reverse (#2014)
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.