Merge branch 'master' of git.incorporeal.org:dr.botzo

This commit is contained in:
Brian S. Stephan 2015-09-17 21:35:36 -05:00
commit efc2b2675f
1 changed files with 2 additions and 2 deletions

View File

@ -115,11 +115,11 @@ class LazyAbsoluteUrl(object):
"""Use (abuse?) duck typing to wrap reverse_lazy in a manner that lets us
append domain stuff but still be lazy, and appear as a string.
We need to do this lazily because SoapRequest objects are probably created at the module
We need to do this lazily because SoapDispatch objects are probably created at the module
level, which means they'll probably first get hit during urls.py scanning, and we can't
reference reverse() then (as urls haven't finished importing). Since we need a domain and
stuff, we need to do that lazily too, and can't simply use reverse_lazy(). Hence this
class that tries to look like a string
class that tries to look like a string.
"""
def __init__(self, url_name):