From 54d7db07e8c34cafdc7ac2a80752541e5d98d8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 14 Oct 2014 18:53:11 -0300 Subject: [PATCH] Activate saberes app --- sigi/settings/base.py | 5 +++++ sigi/urls.py | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/sigi/settings/base.py b/sigi/settings/base.py index 01d3857..f43e1c2 100644 --- a/sigi/settings/base.py +++ b/sigi/settings/base.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """ Django settings for sigi project. @@ -66,6 +67,10 @@ INSTALLED_APPS = ( 'sigi.apps.ocorrencias', 'sigi.apps.financeiro', 'sigi.apps.diagnosticos', + + # Integração com Saberes (moodle) + 'sigi.apps.mdl', + 'sigi.apps.saberes', # Third-party apps 'localflavor', diff --git a/sigi/urls.py b/sigi/urls.py index e73c9ec..595639a 100644 --- a/sigi/urls.py +++ b/sigi/urls.py @@ -16,12 +16,14 @@ urlpatterns = patterns('', url(r'^diagnosticos/', include('sigi.apps.diagnosticos.urls')), url(r'^servidores/', include('sigi.apps.servidores.urls')), url(r'^servicos/', include('sigi.apps.servicos.urls')), + url(r'^saberes/', include('sigi.apps.saberes.urls')), url(r'^dashboard/', include('sigi.apps.metas.urls')), url(r'^', include(admin.site.urls)), # to enable language selection - url(r'^i18n/', include('django.conf.urls.i18n')), + # Suspended + #url(r'^i18n/', include('django.conf.urls.i18n')), ) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)