From f2b0448d073afa696a322ef33fc99d6e594eafcf Mon Sep 17 00:00:00 2001 From: Muhammad Anis Date: Mon, 31 Jul 2017 22:54:13 +0700 Subject: [PATCH] Fix urls error --- django_project/core/settings/project.py | 4 +++- django_project/core/urls.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/django_project/core/settings/project.py b/django_project/core/settings/project.py index cc83588..52a3faa 100644 --- a/django_project/core/settings/project.py +++ b/django_project/core/settings/project.py @@ -19,7 +19,7 @@ INSTALLED_APPS += ( "charts_app", "wfs_harvest", 'geonode.base', - 'geonode.layers' + 'geonode.layers', ) @@ -58,3 +58,5 @@ from .celery_setting import * # noqa # default login url LOGIN_URL = '/account/login/' + +ALLOWED_DOCUMENT_TYPES = ["pdf"] diff --git a/django_project/core/urls.py b/django_project/core/urls.py index 68f2b3b..3ea307d 100644 --- a/django_project/core/urls.py +++ b/django_project/core/urls.py @@ -11,4 +11,6 @@ urlpatterns = i18n_patterns( url(r'^api/home/test', TemplateView.as_view(template_name="site_index.html"), name="home"), url(r'^chart/', include('charts_app.urls')), url(r'^table/', include('wfs_harvest.urls')), + url(r'^geonode/document/', include('geonode.documents.urls')), + url(r'^geonode/maps/', include('geonode.maps.urls')), )