Intermittent 'template not found' errors

2016-12-09 Thread Larry Martell
at this site we are seeing intermittent 'template not found' errors. A refresh of the page always works. It happens with different templates, and there are no errors in any of the logs (except for the template not found error). I've checked the system logs, the nginx logs, the uwsgi logs and the django

Re: default login template not found (registration/login.html)

2014-11-20 Thread 顏大剛
I got it, thank you. Yen 2014-11-20 20:18 GMT+08:00 Daniel Roseman : > On Thursday, 20 November 2014 11:39:09 UTC, Yen wrote: >> >> Hi, >> >> I follow the doc to test the login system. I set a view function with >> @login_required to show successful login message. >> >>

Re: default login template not found (registration/login.html)

2014-11-20 Thread Daniel Roseman
On Thursday, 20 November 2014 11:39:09 UTC, Yen wrote: > > Hi, > > I follow the doc to test the login system. I set a view function with > @login_required to show successful login message. > > In the html, a link like: > Login > > The URLconf under 'account' namespace contains one url: >

Re: default login template not found (registration/login.html)

2014-11-20 Thread Sergiy Khohlov
Check your settings.py for TEMPLATE_DIRS Many thanks, Serge +380 636150445 skype: skhohlov On Thu, Nov 20, 2014 at 7:48 AM, 顏大剛 wrote: > Hi, > > I follow the doc to test the login system. I set a view function with > @login_required to show successful login message. >

default login template not found (registration/login.html)

2014-11-20 Thread 顏大剛
Hi, I follow the doc to test the login system. I set a view function with @login_required to show successful login message. In the html, a link like: Login The URLconf under 'account' namespace contains one url: url(r'^login/$', 'django.contrib.auth.views.login', name='login',) It shows

Re: Template not found

2010-08-27 Thread Steve Holden
On 8/27/2010 11:46 AM, Bradley Hintze wrote: >> Figured it out. But still 'gr!' >> >> So whenever I change a file and save it the stupid computer >> automatically changes ownership back to me instead of keeping www >> as owner. Thus apache couldn't 'see' my ne settings. As admin being >> the

Re: Template not found

2010-08-27 Thread Bradley Hintze
LOL and grr, I wish I had posted my solution. I'm getting the same error, TemplateDoesNotExist. I look at my settings for my template directory, look in that directory and there is the template that it says does not exist! Very frustrating! I did move my directory but (thought) I changed all

Re: Template not found

2010-08-27 Thread Bradley Hintze
Figured it out. But still 'gr!' So whenever I change a file and save it the stupid computer automatically changes ownership back to me instead of keeping www as owner. Thus apache couldn't 'see' my ne settings. As admin being the group with read/write permissions I thought that I could change

Re: Template not found

2010-08-27 Thread Steve Holden
On 8/27/2010 3:41 AM, Reinout van Rees wrote: > On 08/26/2010 09:11 PM, Bradley Hintze wrote: >> Got it! > > You're keeping us all in suspense :-) > > Next time, could you add a one-line summary of the eventual solution? > There will be people with similar problems that google your post in >

Re: Template not found

2010-08-27 Thread Reinout van Rees
On 08/26/2010 09:11 PM, Bradley Hintze wrote: Got it! You're keeping us all in suspense :-) Next time, could you add a one-line summary of the eventual solution? There will be people with similar problems that google your post in 2012. They'll want more than a "got it" :-) Reinout --

Re: Template not found

2010-08-26 Thread Bradley Hintze
Got it! On Thu, Aug 26, 2010 at 2:56 PM, Bradley Hintze <bradle...@aggiemail.usu.edu> wrote: > A found the template error, a typo. But now I have an impor error: > > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] mod_wsgi > (pid=1440): Exception occurred proc

Re: Template not found

2010-08-26 Thread Piotr Kilczuk
> I do have it on the sys.path in django.wsgi, here it is: > > import os > import sys > sys.path.append('/Users/bradleyhintze/djcode') > sys.path.append('/Users/bradleyhintze/djcode/MolProbity_Compare_test') Seems like it is somehow not there - is settings.py inside

Re: Template not found

2010-08-26 Thread Bradley Hintze
A found the template error, a typo. But now I have an impor error: [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] mod_wsgi (pid=1440): Exception occurred processing WSGI script '/Users/bradleyhintze/djcode/MolProbity_Compare_test/apache/django.wsgi'., referer: http

Re: Template not found

2010-08-26 Thread Piotr Kilczuk
Hi, If you need to debug, set DEBUG to True, obviously... Second thing - what is your TEMPLATE_DIRS and TEMPLATE_LOADERS setting? Regards, Piotr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Template not found

2010-08-26 Thread Bradley Hintze
I forgot to include the error_log message: [Thu Aug 26 17:41:27 2010] [error] [client 152.16.223.251] mod_wsgi (pid=938): Exception occurred processing WSGI script '/Users/bradleyhintze/djcode/MolProbity_Compare_test/apache/django.wsgi'. [Thu Aug 26 17:41:27 2010] [error] [client 152.16.223.251]

Template not found

2010-08-26 Thread Bradley Hintze
I just moved my site onto apache and can get the 'home' site up which directs you to upload two files. When you submit the form you get a 500 Internal Server Error. The error log indicates that it can't find a 500 template, which I do have in my templates folder, which indicates to me that it may

Gis Admin > Template not found

2008-09-16 Thread martyn
Hi, I'm trying to get a correct admin interface with the default openlayers. Here are my models/admin : #models.py from django.contrib.gis.db import models from django.contrib.auth.models import User class Competitor(models.Model): # User pour auth + Utilities user =

Re: Tutorial 2 admin Template not found

2008-01-05 Thread yak-man
I got the svn version, and "installed" from it into my Python2.5.1 - on Windows... After reading this, I looked at the site-packages/django/contrib/admin directory -- it was missing the media and templates directories... I gave up, and svn'd into my Python area too (and all seems well now). Is

Re: Tutorial 2 admin Template not found

2007-12-23 Thread kadavy
Thanks, everyone, Jeff, I installed the SVN version, like you said - and it worked! I guess I was under the (apparently false) impression that the official release would be better to install than the SVN version. On Dec 22, 3:47 am, Jeff Anderson <[EMAIL PROTECTED]> wrote: > I have no problems

Tutorial 2 admin Template not found

2007-12-21 Thread kadavy
I have 0.96 installed and I'm working on Tutorial 2: http://www.djangoproject.com/documentation/0.96/tutorial02/ Everything from Tutorial 1 worked just fine, but once I follow the steps under "Activate the admin site" and try to visit admin, I get a TemplateDoesNotExist for admin/login.html I