Re: Error Accessing User objects from Admin

2008-09-09 Thread dbee

Thanks Karen. Got it :-)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Error Accessing User objects from Admin

2008-09-09 Thread Karen Tracey
On Tue, Sep 9, 2008 at 12:24 PM, dbee <[EMAIL PROTECTED]> wrote:

>
> I seem to get an error everytime i try to access a user object on the
> admin panel. It's really annoying ...
>
> The pastebin is here ...
>
> http://pastebin.com/m71119d2d
>
> Any help is greatly appreciated,
>

Traceback seems to indicate you have a Model with a Field that has specified
a validator_list as something that is not subscriptable.  At somewhere
around the level of code you are running the User model (in
django/contrib/auth/models.py) has a validator_list for its username field:

username = models.CharField(_('username'), max_length=30, unique=True,
validator_list=[validators.isAlphaNumeric], help_text=_("Required. 30
characters or fewer. Alphanumeric characters only (letters, digits and
underscores)."))

That's subscriptable since the validator_list is in fact a list.

Have you changed that line of code at all?  If not, what changed between the
time this was working (I assume it was working at some point?) and when it
started breaking?  Have you specified anything to be edited inline with
Users?  If so, does the inline-edited model specify any validator_lists?

Karen

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



Error Accessing User objects from Admin

2008-09-09 Thread dbee

I seem to get an error everytime i try to access a user object on the
admin panel. It's really annoying ...

The pastebin is here ...

http://pastebin.com/m71119d2d

Any help is greatly appreciated,

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