from django.http import HttpResponse, Http404 from django.template import RequestContext from django.shortcuts import render_to_response
def verify_sl(request): if request.method == 'GET': if not request.GET.get('avatarkey',''): raise Http404 elif len(request.GET['avatarkey']) != 36: raise Http404 else: render_to_response('signup_s2.html', {},RequestContext(request)) else: raise Http404 Why does this code not work? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---