]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/__init__.py
Simple method to hold the current request for special cases.
[osqa.git] / forum / __init__.py
index 85cd5d26f1fc2890c75d6ef07db9086cdd46376a..51c0c431c26bb68ed2ccf20fd1374e6a2239938d 100644 (file)
@@ -1 +1,5 @@
-__all__ = ['admin','auth','const','feed','forms','managers','models','sitemap','urls','views']
+class RequestHolder(object):
+    def __init__(self):
+        self.request = None
+
+REQUEST_HOLDER = RequestHolder()
\ No newline at end of file