Changeset 1b7966c


Ignore:
Timestamp:
May 13, 2010, 6:33:55 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
e8e7a0e
Parents:
1e052c4
git-author:
Alex Dehnert <adehnert@…> (05/13/10 06:33:55)
git-committer:
Alex Dehnert <adehnert@…> (05/13/10 06:33:55)
Message:

Require authentication to edit FYSM submissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    r0b488d4 r1b7966c  
    33import settings
    44
     5from django.contrib.auth.decorators import user_passes_test
    56from django.views.generic import list_detail
    67from django.shortcuts import render_to_response, get_object_or_404
     
    7778        )
    7879
     80@user_passes_test(lambda u: u.is_authenticated())
    7981def fysm_manage(request, group, ):
    8082    year = datetime.date.today().year
Note: See TracChangeset for help on using the changeset viewer.