Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dibaunaumh/tc-django
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Mar 9, 2010
2 parents 48d0b6c + 78136a7 commit 2068a9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions tcdjango/community/templates/index.html
@@ -1,2 +1,11 @@
{% extends 'admin/base_site.html' %}
{% load i18n %}
{% block nav-global %}
<table width="80%">
<tr>
{% for domain in domains %}
<td><a href="/domain/{{domain.name}}/">{{ domain.name }}</a></td>
{% endfor %}
</tr>
</table>
{% endblock %}
2 changes: 1 addition & 1 deletion tcdjango/community/urls.py
Expand Up @@ -8,7 +8,7 @@
# Example:
(r'^comments/', include('django.contrib.comments.urls')),
(r'domain/(?P<domain>\w+)/$', 'tcdjango.community.views.home'),
(r'article/(?P<slug>\w+)/$', 'tcdjango.community.views.view_article'),
(r'article/(?P<slug>\w+)$', 'tcdjango.community.views.view_article'),
(r'', 'tcdjango.community.views.home'),


Expand Down

0 comments on commit 2068a9e

Please sign in to comment.