@@ -0,0 +1,308 @@
+from django.conf import settings%0A%0A%0Adef absolute_path(req):%0A%09'''%0A%09Get the absolute-path of the application or request%0A%09'''%0A%09ATTR='ABSOLUTE_PATH'%0A%09RST=%7BATTR: None%7D%0A%09if hasattr(settings, ATTR) and getattr(settings, ATTR, False):%0A%09%09RST%5BATTR%5D=getattr(settings, ATTR)%0A%09else:%0A%09%09RST%5BATTR%5D=req.get_host()%0A%09return RST%0A

Add the provider