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')), )