summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-12-03 01:19:30 -0500
committereliott <eliott@cactuswax.net>2007-12-11 20:27:44 -0800
commit3a6217bfa31d36c2c9e0d7b1ab4eac2cb1e3b872 (patch)
treeab9e9035646306793cf0ad3aefe47b3132187d2e /urls.py
parentf44610c04ab9c11880ca0fb919fc5e13114a09f0 (diff)
Added irc channel.
Removed media url. Should be served by apache.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index bf6f18de..efcad622 100644
--- a/urls.py
+++ b/urls.py
@@ -1,6 +1,7 @@
from django.conf.urls.defaults import *
from archlinux.news.models import News
from archlinux.feeds import PackageFeed, NewsFeed
+from django.views.decorators.cache import cache_page
feeds = {
'packages': PackageFeed,
@@ -8,7 +9,7 @@ feeds = {
}
urlpatterns = patterns('',
- (r'^media/(.*)$', 'django.views.static.serve', {'document_root': '/home/jvinet/shared/work/archlinux/media'}),
+ #(r'^media/(.*)$', 'django.views.static.serve', {'document_root': '/home/jvinet/shared/work/archlinux/media'}),
# Dynamic Stuff
(r'^packages/flag/(\d+)/$', 'archlinux.packages.views.flag'),