Thanks, James. That worked. Now, I'm stuck on something else. Yay for me!
On Feb 23, 11:45 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 2/23/07, sansmojo <[EMAIL PROTECTED]> wrote: > > > Here's my views/admin.py (note that everything works, until I added > > line 10 - "@staff_member_required"): > > You're probably using Python 2.3, which doesn't support the @ syntax > for decorators. > > Instead of using that, below the view function add this line: > > aud_request = staff_member_required(aud_request) > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---