Ignore:
Timestamp:
Aug 25, 2011, 10:53:03 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
9b391ce, 165e5aa
Parents:
d3167b9
git-author:
Alex Dehnert <adehnert@…> (08/25/11 22:53:03)
git-committer:
Alex Dehnert <adehnert@…> (08/25/11 22:53:03)
Message:

Rearrange URLs

This factors out the common "groups" prefix, makes "groups" be used even for
single-group things, and puts group-related stuff in a single namespace.
(Django is lame, and while nested namespaces work, namespaces with wildcards
in the prefix don't, so I can't make a groups:group namespace, which would be
cute.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/groups/group_list.html

    r1de230f rfbb362a  
    3232        <th>{{group.name}}</th>
    3333        <td>{% if group.website_url %}<a href='{{group.website_url}}'>Website</a>{%endif%}</td>
    34         <td><a href='{% url group-detail group.pk %}'>DB Entry</a></td>
     34        <td><a href='{% url groups:group-detail group.pk %}'>DB Entry</a></td>
    3535        <td>{{group.description}}</td>
    3636        <td>{{group.meeting_times}}</td>
Note: See TracChangeset for help on using the changeset viewer.