From fe79f80a3add79c5f59e6a65fb7dc1370f4f192a Mon Sep 17 00:00:00 2001 From: Raffaele Salmaso Date: Sun, 18 Feb 2018 22:09:05 +0100 Subject: [PATCH] Added wiki.compat --- src/wiki/compat.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/wiki/compat.py diff --git a/src/wiki/compat.py b/src/wiki/compat.py new file mode 100644 index 00000000..83dd2629 --- /dev/null +++ b/src/wiki/compat.py @@ -0,0 +1,9 @@ +try: + from django.urls import include, re_path as url +except ImportError: + from django.conf.urls import include, url + + +__all__ = [ + 'include', 'url' +] -- 2.45.2