From: Guillaume Pellerin Date: Tue, 9 Feb 2016 09:55:50 +0000 (+0100) Subject: test agenda and people X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b088e8a529ec27e933d1191af2ac9b4992ccf39d;p=mezzo.git test agenda and people --- diff --git a/app/sandbox/settings.py b/app/sandbox/settings.py index 2462c6e0..51f05f7c 100644 --- a/app/sandbox/settings.py +++ b/app/sandbox/settings.py @@ -124,6 +124,8 @@ FILE_UPLOAD_PERMISSIONS = 0o644 # MAX_UPLOAD_SIZE = 429916160 +EVENT_SLUG = 'events' + ############# # DATABASES # ############# @@ -217,6 +219,9 @@ INSTALLED_APPS = [ # "eve", "festival", "meta", + 'mezzanine-agenda', + 'mezzanine_people', + ] # Add Migration Module path see : https://github.com/stephenmcd/mezzanine/blob/master/docs/model-customization.rst#field-injection-caveats diff --git a/app/sandbox/urls.py b/app/sandbox/urls.py index bbf5af81..e911e970 100644 --- a/app/sandbox/urls.py +++ b/app/sandbox/urls.py @@ -25,7 +25,9 @@ if settings.USE_MODELTRANSLATION: ) urlpatterns += patterns('', - (r'^festival/', include('festival.urls')), + url(r'^festival/', include('festival.urls')), + url(r'^people/', include('mezzanine_people.urls')), + url("^%s/" % settings.EVENT_SLUG, include("mezzanine_agenda.urls")), # We don't want to presume how your homepage works, so here are a # few patterns you can use to set it up.