Initial implementation of node_url templatetag.
[philo.git] / exceptions.py
diff --git a/exceptions.py b/exceptions.py
new file mode 100644 (file)
index 0000000..b40f08a
--- /dev/null
@@ -0,0 +1,7 @@
+class ViewDoesNotProvideSubpaths(Exception):
+       """ Raised by get_subpath when the View does not provide subpaths (the default). """
+       silent_variable_failure = True
+
+class ViewCanNotProvideSubpath(Exception):
+       """ Raised by get_subpath when the View can not provide a subpath for the supplied object. """
+       silent_variable_failure = True
\ No newline at end of file