On 8/29/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I posted this on Saturday, but since I had no replies, I'm reposting it.
>
> What should I look for to solve this problem:
>
> When I access http://127.0.0.1:8000/admin/ I get
> Groups
> Users
> in the Autho Fieldset.
>
>
> If I click on Users  http://127.0.0.1:8000/admin/auth/user/ I get a list
> of all the users.
>
> When I click on any of them:  http://127.0.0.1:8000/admin/auth/user/1/
> like the superuser in this case:
>
> Page not found (404)
> Request Method:
> GET
>   Request URL:
> http://127.0.0.1:8000/admin/auth/user/1/
>
> Or starting again from admin:   http://127.0.0.1:8000/admin/
> I click in the +Add shortcut for Users:
> http://127.0.0.1:8000/admin/auth/user/add/
> .............................................
> DoesNotExist at /admin/auth/user/add/
> Request Method:
> GET
>   Request URL:
> http://127.0.0.1:8000/admin/auth/user/add/
>   Exception Type:
> DoesNotExist
>   Exception Value:
> Exception Location:
> /usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/related.py
> in __get__, line 163
>
> Traceback (most recent call last):
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py"
> in get_response
>    74. response = callback(request, *callback_args, **callback_kwargs)
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/admin/views/decorators.py"
> in _checklogin
>    55. return view_func(request, *args, **kwargs)
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/views/decorators/cache.py"
> in _wrapped_view_func
>    39. response = view_func(request, *args, **kwargs)
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/admin/views/main.py"
> in add_stage
>    243. manipulator = model.AddManipulator()
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/manipulators.py"
> in __init__
>    69. self.fields.extend(f.get_manipulator_fields(self.opts, self,
> self.change))
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/__init__.py"
> in get_manipulator_fields
>    226. field_objs, params =
> self.prepare_field_objs_and_params(manipulator, name_prefix)
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/__init__.py"
> in prepare_field_objs_and_params
>    215. field_objs = self.get_manipulator_field_objs()
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/related.py"
> in get_manipulator_field_objs
>    627. choices = self.get_choices_default()
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/related.py"
> in get_choices_default
>    631. return Field.get_choices(self, include_blank=False)
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/__init__.py"
> in get_choices
>    292. return first_choice + [(x._get_pk_val(), str(x))
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/auth/models.py"
> in __str__
>    48. return "%s | %s" % (self.content_type, self.name)
>  File
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/related.py"
> in __get__
>    163. raise self.field.rel.to.DoesNotExist
>
>    DoesNotExist at /admin/auth/user/add/
>
> Request information
> GET
> No GET data
> POST
> No POST data
> .............................................
>
> What should I try to look for to solve this problem?
>


Which database are you using? Could you post your INSTALLED_APPS
settings? Does it have both 'django.contrib.auth' and
'django.contrib.admin'? You've done a 'manage.py syncdb'?

Maybe try a more recent version of Django?

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

Reply via email to