Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
3a6217bf
Commit
3a6217bf
authored
Dec 03, 2007
by
eliott
Browse files
Added irc channel.
Removed media url. Should be served by apache.
parent
f44610c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/public/irc.html
View file @
3a6217bf
...
...
@@ -30,7 +30,10 @@ <h2 class="title">IRC Channels</h2>
<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>
...
...
urls.py
View file @
3a6217bf
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 @@
}
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'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment