I know. Just a typo in this post. Thanks for trying to help anyway :)
the error was in the urls.py
/user//
/user/page/
When loading /user/page/ /user/ wrote:
> On 13 February 2010 13:46, Anders Eide wrote:
>
>
>
> > did a stupid PEBCAK i the urls.py file. Works fine now
>
> > On Feb 13, 1:33 p
On 13 February 2010 13:46, Anders Eide wrote:
> did a stupid PEBCAK i the urls.py file. Works fine now
>
> On Feb 13, 1:33 pm, Anders Eide wrote:
>> Why on earth doesn't this user_page view work? Getting "404, No User
>> matches the given query."
>>
>> from django.contrib.auth.models import User
did a stupid PEBCAK i the urls.py file. Works fine now
On Feb 13, 1:33 pm, Anders Eide wrote:
> Why on earth doesn't this user_page view work? Getting "404, No User
> matches the given query."
>
> from django.contrib.auth.models import User
> from django.template import RequestContext
> from djan
Why on earth doesn't this user_page view work? Getting "404, No User
matches the given query."
from django.contrib.auth.models import User
from django.template import RequestContext
from django.shortcuts import render_to_response, get_object_or_404
def user_page(request):
user = User.get_obje
4 matches
Mail list logo