On the chance that something has changed in your JavaScript as well, are you sure that you're passing the session cookie? This could be a subtle difference, such as a different version of JQuery, or the like.
The server side doesn't know from AJAX. They're all just requests that get a response. (COMET, on the other hand, is different.) Bill On Tue, Jun 1, 2010 at 10:16 PM, Carl Nobile <carl.nob...@gmail.com> wrote: > I have modified my admin site so that a state/province will be loaded > through an AJAX call when the country is chosen. I had > @login_required(redirect_field_name='/login/') called just before the > view so I could prevent unauthorized AJAX requests. This no longer > works after I upgraded from 1.1 to 1.2.1. It seems the user objects is > no longer on the request object. Is there a work around for this? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.