Hi Russ,

Thanks very much for your input. The answers to your 'sanity checks' are 
inline.

Thanks,
Shankar

On Wed, 11 Jul 2007 11:27:59 +0800, Russell Keith-Magee wrote:

> Some quick sanity checks:
> - What version of Django are you using?
I'm using trunk 5643

> - Are you using a user profile
> somewhere, or anything else that might be affecting the rendering of
> User objects?
Not that I know of. Is there a way to check this?

> - Have you got django.contrib.auth in your INSTALLED APPS?
Yes. Please see snippet from 'settings.py' below.
::::::::::::::
settings.py
::::::::::::::
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'tagging',
    'mysite.weblog',
)

> - Does the problem go away if you put 'from django.contrib.auth.models
> import User' at the top
No

> - What happens when you run the following:
> from django.contrib.auth.models import User print User.objects.all[0]
::::::::::::::
output from python interpreter
::::::::::::::
>>> from django.contrib.auth.models import User
>>> print User.objects.all[0]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: unsubscriptable object


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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