On 12 April 2010 07:41, Dexter <a.essel...@gmail.com> wrote: > I have problem's with 2 templates, the newest, it is in the same dir as my > index.html template (Which does work). > The runserver runs with the same settings.py, so there should be no > difference
I'd check file permissions on the inaccessible templates. I'm guessing your Apache user is different to the user you're running runserver with. > On Sun, Apr 11, 2010 at 11:24 PM, Shawn Milochik <sh...@milochik.com> wrote: >> >> On Apr 11, 2010, at 5:22 PM, David Zhou wrote: >> >> > On Sun, Apr 11, 2010 at 4:26 PM, Dexter <a.essel...@gmail.com> wrote: >> > >> >> I have a server running with primarily nginx and secundary apache2, >> >> And I am getting an template error trying to browse an app. It seems it >> >> cannot find a template, but it is certainly there, the runserver just >> >> works >> >> fine. >> > >> > Everything in programming makes sense, it's just a matter of figuring >> > out why something makes sense. >> > >> > Examine your trace -- there should be a list of directories of where >> > its looking for templates. Verify that your template is actually in >> > one of those paths. >> > >> > -- dz >> >> Also, are you getting that error when you try to browse a page defined in >> one specific template, or all of your templates? >> >> The answer to that will also give you more information to use in solving >> the problem -- really big clues. >> >> Shawn >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-us...@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. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@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. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.