summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmael Carnales <icarnales@gmail.com>2009-10-30 17:39:11 -0200
committerIsmael Carnales <icarnales@gmail.com>2009-11-09 22:24:40 -0200
commit7cd5c1f5a6dacd1aeab1a9a30e9af79e7e294482 (patch)
tree703714c909d388483a02a80073e73439757819a9
parent90f93c09a8f877525dd447146981d58acfee96dd (diff)
added public app
-rw-r--r--settings.py1
-rw-r--r--urls.py15
2 files changed, 16 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index dbc72cd2..e94f3505 100644
--- a/settings.py
+++ b/settings.py
@@ -75,6 +75,7 @@ INSTALLED_APPS = (
'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 @@ urlpatterns = patterns('',
(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: