error was django_src, in your temlate dir you have django_projects...typo
somewhere in there

On 11/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I have a website, and keep getting this error tracebacks to my mail:
>
> Traceback (most recent call last):
>
> File "/home/clients/my_site/django_src/django/core/handlers/base.py",
> line 81, in _real_get_response
>    response = callback(request, *callback_args, **callback_kwargs)
>
> File "/home/clients/my_site/django_projects/gamemag/news/views.py",
> line 58, in index
>    return object_list(request,**kwargs)
>
> File "/home/clients/my_site/django_src/django/views/generic/
> list_detail.py", line 96, in object_list
>    t = template_loader.get_template(template_name)
>
> File "/home/clients/my_site/django_src/django/template/loader.py",
> line 79, in get_template
>    source, origin = find_template_source(template_name)
>
> File "/home/clients/my_site/django_src/django/template/loader.py",
> line 72, in find_template_source
>    raise TemplateDoesNotExist, name
>
> TemplateDoesNotExist: news/news_list.html
>
> In my settings.py i have:
>
> TEMPLATE_DIRS = (
>     "/home/clients/my_site/django_projects/site/templates",
> )
>
> And
> ls -l /home/clients/my_site/django_projects/site/templates/news/
> news_list.html
> -rw-r--r-- 1 user virtwww 16071 Nov  5 17:24 /home/clients/my_site/
> django_projects/site/templates/news/news_list.html
>
>
> So, apparently template exists, and (which is really weird) - site is
> functioning properly and my users seems to get this page allright. I
> can't think the problem :/
>
>
> >
>

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

Reply via email to