0.4.4: Django 3.0 support, actions.export_as_csv_action added.
[fnpdjango.git] / tests / urls.py
index 15a9417..e9ee19f 100644 (file)
@@ -1,9 +1,14 @@
 from django.conf.urls import url
+from django.contrib import admin
 from fnpdjango.utils.urls import i18n_patterns
 from . import views
 
 
+# For Django < 1.7.
+admin.autodiscover()
+
 urlpatterns = [
+    url(r'^admin/', admin.site.urls),
     url(r'^ip/$', views.ip),
 ] + i18n_patterns(
     url(r'^$', views.get_lang),