Bumped version to 0.2.dev and added tagging of releases with date.
[django-cas-provider.git] / cas_provider / views.py
index 3ee5d7c..0483a32 100644 (file)
@@ -76,7 +76,7 @@ def service_validate(request):
     
     try:
         ticket = ServiceTicket.objects.get(ticket=ticket_string)
     
     try:
         ticket = ServiceTicket.objects.get(ticket=ticket_string)
-        ticket.delete()
+        ticket.delete()
         return HttpResponse(auth_success_response(ticket.user), mimetype='text/xml')
     except ServiceTicket.DoesNotExist:
         return HttpResponse('''<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
         return HttpResponse(auth_success_response(ticket.user), mimetype='text/xml')
     except ServiceTicket.DoesNotExist:
         return HttpResponse('''<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">