summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-12-03 07:19:30 +0100
committereliott <eliott@cactuswax.net>2007-12-12 05:27:44 +0100
commit3a6217bfa31d36c2c9e0d7b1ab4eac2cb1e3b872 (patch)
treeab9e9035646306793cf0ad3aefe47b3132187d2e
parentf44610c04ab9c11880ca0fb919fc5e13114a09f0 (diff)
downloadarchweb-3a6217bfa31d36c2c9e0d7b1ab4eac2cb1e3b872.tar.gz
archweb-3a6217bfa31d36c2c9e0d7b1ab4eac2cb1e3b872.tar.xz
Added irc channel.
Removed media url. Should be served by apache.
-rw-r--r--templates/public/irc.html5
-rw-r--r--urls.py3
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 @@
<td>Discussion (Spanish)</td>
</tr><tr>
<td><strong>#archlinux.br</strong></td>
- <td>Discussion (Brazilian Community)</td>
+ <td>Discussion (Brazilian)</td>
+ </tr><tr>
+ <td><strong>#archlinux-it</strong></td>
+ <td>Discussion (Italian)</td>
</tr>
</table>
</div>
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'),