HI,

I am getting the old 'current transaction is aborted' when trying to
process @login_required.

basically I have a view method:

@login_required
def index(request):
    if request.GET.has_key('screen'):
        screen = request.GET['screen'].lower()
    else:
        screen = 'main'
    if screens.has_key( screen ):
        ( template , fn ) = screens[ screen ]
        return fn( request , template )
    else:
        raise Http404

When I go to this and I am not logged in it gives me a screen full of a
python error messages (NOT I might add django errors) culminating in
the 'transaction aborted' message.

IF I log in via admin it all works perfectly. Basically it is having
problems before it gets to any of my code

any ideas ?

cheers 

mark


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to