From 3a6217bfa31d36c2c9e0d7b1ab4eac2cb1e3b872 Mon Sep 17 00:00:00 2001 From: eliott Date: Mon, 3 Dec 2007 01:19:30 -0500 Subject: Added irc channel. Removed media url. Should be served by apache. --- templates/public/irc.html | 5 ++++- urls.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/public/irc.html b/templates/public/irc.html index cbd00da..9cfed49 100644 --- a/templates/public/irc.html +++ b/templates/public/irc.html @@ -30,7 +30,10 @@ Discussion (Spanish) #archlinux.br - Discussion (Brazilian Community) + Discussion (Brazilian) + + #archlinux-it + Discussion (Italian) diff --git a/urls.py b/urls.py index bf6f18d..efcad62 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'), -- cgit v1.2.3-24-g4f1b