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_version.html

    r9f9aa21 rfbb362a  
    1717<tr>
    1818    <td>{{version.object_id}}</td>
    19     <td><a href='{% url group-detail version.object_id %}'>{{version.object_repr}}</a></td>
     19    <td><a href='{% url groups:group-detail version.object_id %}'>{{version.object_repr}}</a></td>
    2020    <td>{{version.revision.date_created}}</td>
    2121    <td>{% if version.revision.user %}{{version.revision.user}}{%else%}<i>System</i>{%endif%}</td>
Note: See TracChangeset for help on using the changeset viewer.