facts: trivial comment cleanups

This commit is contained in:
Brian S. Stephan 2015-09-16 16:57:12 -05:00
parent b9b626d2ef
commit 8504a2556d
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 """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. 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 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 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 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): def __init__(self, url_name):