]> git.parisson.com Git - mezzo.git/commitdiff
test agenda and people
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 9 Feb 2016 09:55:50 +0000 (10:55 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 9 Feb 2016 09:55:50 +0000 (10:55 +0100)
app/sandbox/settings.py
app/sandbox/urls.py

index 2462c6e076db9c6bd315be053850ffa0e26d6fc7..51f05f7c7d67f0a0d1cd6336bd9f9c807175d2c7 100644 (file)
@@ -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
index bbf5af816da0cfe4b5207a12129321db86168ae5..e911e9704459dcd235e52af5197fbd61e36b3e28 100644 (file)
@@ -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.