I`m a python newbie so bear with me....

I use the django framework and get the following error:

DoesNotExist at /
UserProfile matching query does not exist.
Request Method:
GET
Request URL:
http://surftracker.example.com/
Exception Type:
DoesNotExist
Exception Value:
UserProfile matching query does not exist.
Exception Location:
/usr/lib/python2.5/site-packages/django/db/models/query.py in get, line 
252

The Traceback looks like this.

Traceback (most recent call last):
File "/data/django/core/handlers/base.py" in get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "/data/surftrackr/log/views.py" in front_page
  77. view_permissions = get_view_permissions(duser_obj)
File "/data/surftrackr/../surftrackr/httpauth/models.py" in 
get_view_permissions
  49. p = duser_obj.get_profile()
File "/usr/lib/python2.5/site-packages/django/contrib/auth/models.py" in 
get_profile
  249. self._profile_cache = 
model._default_manager.get(user__id__exact=self.id)
File "/usr/lib/python2.5/site-packages/django/db/models/manager.py" in get
  73. return self.get_query_set().get(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in get
  252. raise self.model.DoesNotExist, "%s matching query does not exist." 
% self.model._meta.object_name

  DoesNotExist at /
  UserProfile matching query does not exist. 


Since python is fairly new to me I don`t know where to start.
Any help would greatly be appreciated,
Arnoud 
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to