From 7cd5c1f5a6dacd1aeab1a9a30e9af79e7e294482 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Fri, 30 Oct 2009 17:39:11 -0200 Subject: added public app --- settings.py | 1 + urls.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/settings.py b/settings.py index dbc72cd2..e94f3505 100644 --- a/settings.py +++ b/settings.py @@ -75,6 +75,7 @@ 'archweb.packages', 'archweb.todolists', 'archweb.devel', + 'archweb.public', ) # vim: set ts=4 sw=4 et: diff --git a/urls.py b/urls.py index 3fc450f3..d38972d6 100644 --- a/urls.py +++ b/urls.py @@ -60,6 +60,21 @@ (r'^accounts/logout/$', 'django.contrib.auth.views.logout', { 'template_name': 'registration/logout.html'}), (r'^admin/(.*)', admin.site.root), + +# (mostly) Static Pages + (r'^$', 'archweb.public.views.index'), + (r'^about/$', 'archweb.public.views.about'), + (r'^art/$', 'archweb.public.views.art'), + (r'^svn/$', 'archweb.public.views.svn'), + (r'^developers/$', 'archweb.public.views.developers'), + (r'^fellows/$', 'archweb.public.views.fellows'), + (r'^donate/$', 'archweb.public.views.donate'), + (r'^download/$', 'archweb.public.views.download'), + (r'^irc/$', 'archweb.public.views.irc'), + (r'^moreforums/$', 'archweb.public.views.moreforums'), + (r'^projects/$', 'archweb.public.views.projects'), + ('^jsi18n/$', 'django.views.i18n.null_javascript_catalog', + {'packages': 'django.conf'}), ) if settings.DEBUG == True: -- cgit v1.2.3-54-g00ecf