Ignore:
Timestamp:
May 16, 2010, 5:43:53 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
ae881e5, f422ebe
Parents:
a426f62
git-author:
Alex Dehnert <adehnert@…> (05/16/10 05:43:53)
git-committer:
Alex Dehnert <adehnert@…> (05/16/10 05:43:53)
Message:

Add a detail view of submissions

Currently, the iframe doesn't really render correctly, but it otherwise
basically works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    r57f8ffa raaa8e04  
    7373            "categories": categories,
    7474        }
     75    )
     76
     77def fysm_view(request, year, submission, ):
     78    return list_detail.object_detail(
     79        request,
     80        forms.models.FYSM.objects,
     81        object_id=submission,
     82        template_name="fysm/fysm_detail.html",
     83        template_object_name="fysm",
     84        extra_context={
     85            "year": year,
     86            "pagename": "fysm",
     87        },
    7588    )
    7689
Note: See TracChangeset for help on using the changeset viewer.