diff --git a/dr_botzo/facts/soap.py b/dr_botzo/facts/soap.py index 322220f..c1ae783 100644 --- a/dr_botzo/facts/soap.py +++ b/dr_botzo/facts/soap.py @@ -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):