Re: TemplateDoesNotExist at /

2022-06-05 Thread bnmng
What it the URL that is causing this error? On Saturday, June 4, 2022 at 10:59:13 AM UTC-4 pm29...@gmail.com wrote: > TemplateDoesNotExist at /home.html > Request Method: > GET > Request URL: > http://127.0.0.1:8000/ > Django Version: > 4.0.3 > Exception Type: > TemplateDoesNotExist > Exception

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Никита Назаров
Thank you so much! ср, 6 окт. 2021 г. в 19:41, Adeyemi Deji : > Hi, please make reference to link below, looks similar to what you are > building > > https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Generic_views > > Also I will read up the documentation to find solution to this

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
Hi, please make reference to link below, looks similar to what you are building https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Generic_views Also I will read up the documentation to find solution to this issue. You can take a break, you have really worked hard today. On

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Никита Назаров
No, both variants don't work. ср, 6 окт. 2021 г. в 18:17, Adeyemi Deji : > Okay, I also noticed something in the TEMPLATES VARIABLE in your > settings.py file, please make DIRS an empty list like this [] with no space > or better still change to [os.path.join(BASE_DIR, 'catalog/templates')] > >

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
Okay, I also noticed something in the TEMPLATES VARIABLE in your settings.py file, please make DIRS an empty list like this [] with no space or better still change to [os.path.join(BASE_DIR, 'catalog/templates')] On Wednesday, October 6, 2021 at 5:00:42 PM UTC+2 nazni...@gmail.com wrote: >

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
correct paginated_by to paginate_by. Virus-free. www.avast.com

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
Please correct your class views, you are getting it wrong. it should look like this. class BookListView(generic.ListView): model = Book paginated_by = 10 template_name = "catalog/book_list.html" class BookDetailView(generic.DetailView): model = Book

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Никита Назаров
It also doesn't work. I see this error :"TemplateDoesNotExist at /catalog/books/ catalog/book_list.html, catalog/book_list.html" My views.py is below. Also, I checked on GitHub Mozilla ( https://github.com/mdn/django-locallibrary-tutorial/blob/master/catalog/views.py). They didn't use -

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
class BookListView(generic.ListView): """Generic class-based view for a list of books.""" model = Book paginate_by = 10 template_name = "catalog/book_list.html"

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
Please don't change your formal code setting, just add the template_name attribute and specify the template you are referring to just add this to your former code: template_name = "catalog/book_list.html"

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Никита Назаров
It doesn't seem to work. I wrote your example in views.py. Or I might make mistakes. Could you see? views. py from .models import Book, Author, BookInstance, Genre from django.views import generic from django.shortcuts import render from django.views.generic.base import TemplateView # Create

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
for example. class AboutView(TemplateView): template_name = "about.html" On Wed, Oct 6, 2021 at 11:32 AM Никита Назаров wrote: > Hello! > Thank you! > I'm sorry. How could I do this? > > среда, 6 октября 2021 г. в 11:20:19 UTC+3, adeyem...@gmail.com: > >> Hi, I observed that you didn't

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Никита Назаров
Hello! Thank you! I'm sorry. How could I do this? среда, 6 октября 2021 г. в 11:20:19 UTC+3, adeyem...@gmail.com: > Hi, I observed that you didn't specify the template name attribute for the > BookListView and BookDetailView, that should solve you problem. > > On Tuesday, October 5, 2021 at

Re: TemplateDoesNotExist at /catalog/books/

2021-10-06 Thread Adeyemi Deji
Hi, I observed that you didn't specify the template name attribute for the BookListView and BookDetailView, that should solve you problem. On Tuesday, October 5, 2021 at 10:37:19 PM UTC+2 nazni...@gmail.com wrote: > Hello! > I’m beginner in Django. I do Django Tutorial from Mozilla. > I get

Re: TemplateDoesNotExist

2020-12-21 Thread yvin l'EXPLOIT
Follow the Django's official tutorial. Le lun. 21 déc. 2020 à 17:10, Peter T a écrit : > nvm, I fixed it > > On Monday, December 21, 2020 at 11:06:31 AM UTC-5 Peter T wrote: > >> templatedoesnotexist. I keep getting this error how do I fix it >> > -- > You received this message because you are

Re: TemplateDoesNotExist

2020-12-21 Thread Peter T
nvm, I fixed it On Monday, December 21, 2020 at 11:06:31 AM UTC-5 Peter T wrote: > templatedoesnotexist. I keep getting this error how do I fix it > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: TemplateDoesNotExist at /accounts/logout/ logout.html

2020-01-07 Thread Kasper Laudrup
Hi Parvez. On 07/01/2020 10.13, Parvez Khan Pathan wrote: i'm new to django and learning from Udemy Bootcamp course but i make Blog Post WEb using django Everything is work good Except Logout can you please help out where made i mistake... If you read the error messages it clearly shows what

Re: TemplateDoesNotExist at /accounts/logout/ logout.html

2020-01-07 Thread ramadhan ngallen
Hello The template directory(name) is not correct. Kindly change template directory to "registration/logout.html" instead of "logout.html" Best Regards Ramadhan Ngallen Software Consultant Phone: +255 715 200 997 | ngall...@gmail.com On 7 Jan 2020, 12:24 +0300, Bruckner de Villiers , wrote: >

Re: TemplateDoesNotExist

2019-10-04 Thread Desh Deepak
yourapp/urls.py from django.urls import path from . import path urlpatterns =[ path(' ', views.index, name='index'), ] views.py def index(request): return render(request, 'index.html') On Thu, 3 Oct 2019, 17:03 Tosin Ayoola, wrote: > Did you set your template

Re: TemplateDoesNotExist

2019-10-03 Thread saeed albooyeh
hi you can see the template-loader postmortem part of the error page that you uploaded there is a list of paths that django expects to find your templates due to your settings file in the settings file you can see the TEMPLATES list and find out where you should place your templates for

Re: TemplateDoesNotExist

2019-10-03 Thread Tosin Ayoola
Did you set your template folder correctly in your setting file and in your view are you pointing to the right directory where your .html is located? On Oct 3, 2019 08:18, "yerri swamy" wrote: I tried like this testapp>template>base.html but also its showing same issue please help me anyone..

Re: TemplateDoesNotExist

2019-10-03 Thread Ehab Al-Qabbani
my Sent: Thursday, October 3, 2019 9:18 AM To: django-users@googlegroups.com Subject: Re: TemplateDoesNotExist I tried like this testapp>template>base.html but also its showing same issue please help me anyone.. views.py 1. from django.shortcuts import render 2. 3. # Create you

Re: TemplateDoesNotExist

2019-10-03 Thread yerri swamy
I tried like this testapp>template>base.html but also its showing same issue please help me anyone.. views.py 1. from django.shortcuts import render 2. 3. # Create your views here. 4. def hello_world(request): 5. 1. return

Re: TemplateDoesNotExist

2019-09-25 Thread Desh Deepak
Create template folder inside testapp. Like this: testapp>template>base.html On Wed, 25 Sep 2019, 10:47 yerri swamy, wrote: > > > On Mon, Sep 23, 2019 at 6:53 PM Desh Deepak > wrote: > >> Show me your views.py file. >> >> On Mon, 23 Sep 2019, 18:48 Abu Yusuf, wrote: >> >>> 1. ensure you

Re: TemplateDoesNotExist

2019-09-23 Thread Manish Maurya
create a folder name as template in your django project and open your settings.py file in template in dir write "templates" On Mon, 23 Sep 2019 at 19:56, oba stephen wrote: > Try using "./base.html" > > I believe this should do it. > > On Mon, Sep 23, 2019, 1:40 PM yerri swamy > wrote: > >>

Re: TemplateDoesNotExist

2019-09-23 Thread Tosin Ayoola
Can you paste the section of your view code & Hw are you referencing your base.html is it directly in ur templates folder? On Sep 23, 2019 13:40, "yerri swamy" wrote: Hi guys, By using templates folder i am not getting what i am expecting and i am getting error 'Template Does Not

RE: TemplateDoesNotExist

2019-09-23 Thread laya
Hi , You should config the template settings: 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')], Sent from Mail for Windows 10 From: yerri swamy Sent: Monday, September 23, 2019 4:11 PM To: Django users Subject: TemplateDoesNotExist Hi

Re: TemplateDoesNotExist

2019-09-23 Thread anilumarane
Give the html file current pathSent from my Samsung Galaxy smartphone. Original message From: oba stephen Date: 23/09/2019 19:55 (GMT+05:30) To: django-users@googlegroups.com Subject: Re: TemplateDoesNotExist Try using "./base.html"I believe this should do it. On M

Re: TemplateDoesNotExist

2019-09-23 Thread oba stephen
Try using "./base.html" I believe this should do it. On Mon, Sep 23, 2019, 1:40 PM yerri swamy wrote: > Hi guys, > > By using templates folder i am not getting what i am expecting and > i am getting error 'Template Does Not Exist' ,and also defaulty it's not > coming templates variable

Re: TemplateDoesNotExist

2019-09-23 Thread Desh Deepak
Show me your views.py file. On Mon, 23 Sep 2019, 18:48 Abu Yusuf, wrote: > 1. ensure you have a folder templates inside static folder > 2. ensure you filled up templates_dir: 'templates' > 3. ensure 'base.html' exists inside templates folder > > On Mon, Sep 23, 2019 at 6:40 PM yerri swamy >

Re: TemplateDoesNotExist

2019-09-23 Thread Abu Yusuf
1. ensure you have a folder templates inside static folder 2. ensure you filled up templates_dir: 'templates' 3. ensure 'base.html' exists inside templates folder On Mon, Sep 23, 2019 at 6:40 PM yerri swamy wrote: > Hi guys, > > By using templates folder i am not getting what i am

Re: TemplateDoesNotExist at /vmail/inbox/

2019-02-05 Thread senthu nithy
Get i,Thank you! K.Senthuja Undergraduate Student (UOJ), https://www.linkedin.com/in/senthuja/ https://medium.com/@senthujakarunanithy On Tue, Feb 5, 2019 at 8:53 AM Alex Kimeu wrote: > It means the template you are trying to render is either not created or > not in the location where Django

Re: TemplateDoesNotExist at /vmail/inbox/

2019-02-04 Thread Alex Kimeu
It means the template you are trying to render is either not created or not in the location where Django expects to be. Django does not see the template you are trying to render. On Tue, 5 Feb 2019, 04:28 senthu nithy I am doing a project using Django. I got this error. I don't understand > what

Re: TemplateDoesNotExist Error on deploying

2018-01-13 Thread yingi keme
Okk Jani. I will take note of that too.. Thanks Yingi Kem > On 13 Jan 2018, at 10:28 PM, Jani Tiainen wrote: > > Hi, > > Also be careful with file names. For example windows is case-preserving but > case-insensitive. You may accidentally name your templates with different

Re: TemplateDoesNotExist Error on deploying

2018-01-13 Thread Jani Tiainen
Hi, Also be careful with file names. For example windows is case-preserving but case-insensitive. You may accidentally name your templates with different casing which may lead difficult to spot problems. 13.1.2018 22.58 "yingi keme" kirjoitti: > Thanks Kasper. It was the

Re: TemplateDoesNotExist Error on deploying

2018-01-13 Thread yingi keme
Thanks Kasper. It was the backslash. Thanks for saving me... Yingi Kem > On 13 Jan 2018, at 2:52 PM, Kasper Laudrup wrote: > > Hi Yingi, > >> On 2018-01-13 14:46, yingi keme wrote: >> I tried deploying my app to pythonanywhere hosting service and i am getting >>

Re: TemplateDoesNotExist Error on deploying

2018-01-13 Thread Kasper Laudrup
Hi Yingi, On 2018-01-13 14:46, yingi keme wrote: I tried deploying my app to pythonanywhere hosting service and i am getting TemplateDoesNotExist Error Everything seems to work out well with my development server. But its not working fine when hosting Anyhelp please!! Here is my View def

Re: TemplateDoesNotExist for django-registration (but it does)

2017-05-13 Thread farah_chaaban
Hello i have the same problem. please help me -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group,

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Michal Petrucha
On Sat, Feb 25, 2017 at 01:20:49PM -0800, Richard Belew wrote: > "TemplateDoesNotExist at /" > > (full trace log at http://dpaste.com/3XZ8H3C) > > this must be near the top of django newby issues, but i'm stumped > on the simplest example i can generate: > > i've used the

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
wow, very good and thank you!it was this mal-formed line: 'DIRS': [ ( os.path.join(BASE_DIR, 'templates'), ) ], which should have been: 'DIRS': [ os.path.join(BASE_DIR, 'templates'), ], i had an extra set of parentheses, for whatever bad reason. thanks again! On

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread ludovic coues
yep, look like your settings are wrong try to add that at the end of your settings.py and watch the console you are using to launch django print(TEMPLATES["DIRS"]) print(BASE_DIR) 2017-02-25 23:05 GMT+01:00 Richard Belew : > another possibly relevant bit: the

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
another possibly relevant bit: the Template-loader postmortem shows: Django tried loading these templates, in this order: > > Using engine django: > >- django.template.loaders.filesystem.Loader: > >

Re: TemplateDoesNotExist at/

2016-08-13 Thread Andrew Emory
I figured it out. Of course, now the form isn't rendering... But at least Django isn't throwing that error anymore. for all those who are curious, I was one directory shallow on the template file's location. I was telling Django to look in static/templates when I needed to tell it to look

Re: TemplateDoesNotExist at/

2016-08-13 Thread Andrew Emory
Actually, its Django 1.9. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: TemplateDoesNotExist Again

2015-12-24 Thread cquptzzq
Maybe there is a trouble in settings.py. Maybe you got a wrong template dirs. You can try that way. 在 2015年12月21日星期一 UTC+8下午10:06:47,Arindam Pradhan写道: > > Hi I am new to django community, I want to file a bug regarding a > problem similar to this >

Re: TemplateDoesNotExist Again

2015-12-21 Thread Tim Graham
Could you check if it's still an issue on Django 1.9? There were several improvements to template loading in that release [1]. If it is, could you provide a sample project with the exact case to be improved? [1]

Re: TemplateDoesNotExist at / Error WIth Django 1.8.4 (URGENT)

2015-10-06 Thread ABHIJIT PATKAR
Keep the template folder into your app folder and try it again. --Abhijit Patkar On Tue, Oct 6, 2015 at 10:27 AM, Lachlan Musicman wrote: > do you have a template in a directory called templates? That directory > should be at the same level as manage.py > -- > The most

Re: TemplateDoesNotExist at / Error WIth Django 1.8.4 (URGENT)

2015-10-06 Thread Nelson Varela
Did you notice the name of your template? It says login.html.html On Tuesday, October 6, 2015 at 12:23:45 PM UTC+2, dannette opot wrote: > > I get the above error when I try to access the login.html. > > Attached are my application files. > -- You received this message because you are

Re: TemplateDoesNotExist at / Error WIth Django 1.8.4 (URGENT)

2015-10-06 Thread Lachlan Musicman
do you have a template in a directory called templates? That directory should be at the same level as manage.py -- The most dangerous phrase in the language is, "We've always done it this way." - Grace Hopper On 6 October 2015 at 15:54, dannette opot wrote: > I get the

Re: TemplateDoesNotExist

2015-05-13 Thread Владимир Кубанцев
Hi! In documentation: ¶ DIRS Default:: [] (Empty list) Directories where the engine should look for template source files, in search order. So Django reads your string as a tuple and tries finds templates in each element of tuple.

Re: TemplateDoesNotExist

2015-05-13 Thread Tim Graham
In what directory is the index.html template you expect to be loaded located? On Wednesday, May 13, 2015 at 12:38:18 PM UTC-4, Rashmi Ranjan Kar wrote: > > Hi > > Please go through the attachment. It contains settings.py, urls.py and > localhost:8080 page. kindly help me to solve this issue as

Re: TemplateDoesNotExist

2015-05-13 Thread Stephen J. Butler
See where it says "Django tried loading these templates, in this order"? Move your index.html template to the appropriate place. On Wed, May 13, 2015 at 11:12 AM, Rashmi Ranjan Kar wrote: > Hi > > Please go through the attachment. It contains settings.py, urls.py and >

Re: TemplateDoesNotExist Error...

2012-11-19 Thread rmschne
Yes, with guidance from Django/Python, I am sure the error occurs there. Django/Pythyon presents the trace and the line number which causes the exception is reported to the command Line. However, I will look again at that line and all lines above. Yes, I know there is a "good" chance as the

Re: TemplateDoesNotExist Error...

2012-11-19 Thread Chris Cogdon
If you're sure your error appears at the "txt=" line, look at the definition for that template. There is a good chance it's trying to pull in a template (via an include, or a extends) that doesn't exist. If you need more debugging, you can always modify the LOGGING variable to drop a bunch of

Re: TemplateDoesnotExist: 500.html

2012-04-02 Thread FraMazz
If you need to know what goes in the 500 template have a look at: http://www.djangobook.com/en/2.0/chapter12/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: TemplateDoesnotExist: 500.html

2012-03-31 Thread Gabriel .
On Sat, Mar 31, 2012 at 5:03 PM, Pals wrote: >  I am a novice programmer who just started to learn Django.. I could > not figure out the error related to 500.html. In fact, I would be > grateful if someone guides me making 500.html file. I am using mac > osx, Python 2.7

Re: TemplateDoesNotExist at /search/

2011-12-21 Thread Tebogo Moloi
On Dec 21, 7:18 pm, Tom Evans wrote: > On Wed, Dec 21, 2011 at 5:04 PM, Tebogo Moloi wrote: > > Hi guys I am getting this error every time i submit the form, when the > > submit and the field is empty the error message appears, which > > indicates

Re: TemplateDoesNotExist at /search/

2011-12-21 Thread Tom Evans
On Wed, Dec 21, 2011 at 5:04 PM, Tebogo Moloi wrote: > Hi guys I am getting this error every time i submit the form, when the > submit and the field is empty the error message appears, which > indicates that django does see the templates which I have set in the > settings. >

Re: TemplateDoesNotExist at /admin/ - admin/login.html

2011-03-27 Thread Jimmy
Thank you tracey, I already allow web server to read the files and it works. -- 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

Re: TemplateDoesNotExist at /admin/ - admin/login.html

2011-03-23 Thread Karen Tracey
On Wed, Mar 23, 2011 at 9:30 PM, Jimmy wrote: > Template Loader Error: > Django tried loading these templates, in this order: > Using loader django.template.loaders.filesystem.Loader: > /home/jimmy/django_projects/hermis/templates/admin/login.html (File > exists) > Using

Re: TemplateDoesNotExist

2011-03-13 Thread vijay
Thanks Gladys.Problem solved.Once again thank you so much for quick reply vijay On Sun, Mar 13, 2011 at 5:45 AM, Daniel Roseman wrote: > On Sunday, March 13, 2011 8:40:06 AM UTC-4, Vijay wrote: >> >> Hi Gladys, >> Thanks for quick reply. >> Following content is there at

Re: TemplateDoesNotExist

2011-03-13 Thread Daniel Roseman
On Sunday, March 13, 2011 8:40:06 AM UTC-4, Vijay wrote: > > Hi Gladys, > Thanks for quick reply. > Following content is there at TEMPLATE_DIRS.what i should change at > this.Please suggest me. > > > TEMPLATE_DIRS = ( > # Put strings here, like "/home/html/django_templates" or >

Re: TemplateDoesNotExist

2011-03-13 Thread vijay
Hi Gladys, Thanks for quick reply. Following content is there at TEMPLATE_DIRS.what i should change at this.Please suggest me. TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't

Re: TemplateDoesNotExist

2011-03-13 Thread gladys
Make sure that the TEMPLATE_DIRS is set in your settings.py if you are putting your templates in a folder other than your_app/templates. -- Gladys http://bixly.com On Mar 13, 7:48 pm, Vijay wrote: > When i am practicing Django in chapter 7(forms), I am getting >

Re: TemplateDoesNotExist error when running tests in django.contrib.sitemaps.tests.basic.SitemapTests

2011-02-22 Thread Karen Tracey
On Tue, Feb 22, 2011 at 4:18 AM, sajal wrote: > Installing django from the svn trunk no more fails the tests. Perhaps > the archives should not be skipping these files? > This problem was reported in the bug tracker and has already been fixed:

Re: TemplateDoesNotExist

2010-11-13 Thread Robbington
Hi Lindsay, I would be happy to sort out your problem for a small fee. Rob -- 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

Re: TemplateDoesNotExist

2010-11-12 Thread Shawn Milochik
Sure: djangogigs.com is a good resource. 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

Re: TemplateDoesNotExist

2010-11-12 Thread Lindsay Hunt
Ok, thanks. Do you have any resources for people who I could hire on a short-term basis to provide Django support? On Fri, Nov 12, 2010 at 3:16 PM, Shawn Milochik wrote: > On Fri, Nov 12, 2010 at 3:12 PM, Lindsay Hunt wrote: > > I'm really a novice with

Re: TemplateDoesNotExist

2010-11-12 Thread Shawn Milochik
On Fri, Nov 12, 2010 at 3:12 PM, Lindsay Hunt wrote: > I'm really a novice with using Django.  Can you help me understand where I > can find the settings.py ? You really need to at least do the tutorial. If you have questions this basic, then if someone answers them you'll

Re: TemplateDoesNotExist

2010-11-12 Thread Lindsay Hunt
I'm really a novice with using Django. Can you help me understand where I can find the settings.py ? On Fri, Nov 12, 2010 at 3:05 PM, Fred Chevitarese wrote: > Look at settings.py and see where in which directory are configured your > templates. > Then, you can see at

Re: TemplateDoesNotExist

2010-11-12 Thread Fred Chevitarese
Look at settings.py and see where in which directory are configured your templates. Then, you can see at the error what file he is searching for... "TemplateNotFound" /home/fred/teste.hlml Something like this :P Hope it helps ;) http://chevitarese.wordpress.com Fred Chevitarese - GNU/Linux

Re: TemplateDoesNotExist

2010-11-12 Thread lch...@gmail.com
I think the problem is that Django is looking for a template that has not been created. I need to make sure the template exists, but don't know how to do this. On Nov 12, 2:33 pm, Daniel Roseman wrote: > On Nov 12, 7:23 pm, "lch...@gmail.com" wrote: > >

Re: TemplateDoesNotExist

2010-11-12 Thread lch...@gmail.com
My site is already built www.measuring-success.com I'm trying to add some new pages to the site (www.measuring- success.com/follow/ (for example) I created a HTML file with the code I need and uploaded it to the directory where the other flat files are stored. It matches the same path as the

Re: TemplateDoesNotExist

2010-11-12 Thread Daniel Roseman
On Nov 12, 7:23 pm, "lch...@gmail.com" wrote: > I'm trying to update a website that I didn't create that uses Django, > but am running into some issues. > > 1. I use the Django Admin site to create a new flat page > 2. I create a new file named "yourname.html" > 3. I FTP the

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-07 Thread Karen Tracey
On Fri, Aug 6, 2010 at 5:05 PM, meenakshi wrote: > To clarify - I get a 404 message with DEBUG on (i.e. DEBUG=True), and > a 500 message with DEBUG off (DEBUG=False), not the other way around. > With DEBUG=False, standard handling of the Http404 exception will be to

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-06 Thread meenakshi
To clarify - I get a 404 message with DEBUG on (i.e. DEBUG=True), and a 500 message with DEBUG off (DEBUG=False), not the other way around. Regards Meenakshi On Aug 6, 1:21 pm, Steve Holden wrote: > On 8/6/2010 3:59 PM, meenakshi wrote: > > > Hi Steve, > >     I do have

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-06 Thread Steve Holden
On 8/6/2010 3:59 PM, meenakshi wrote: > Hi Steve, > I do have the DEBUG setting on False. The reason is that when I > set DEBUG to True, I get the following message: > > > Page not found (404) > Request Method: GET > Request URL: http://127.0.0.1:8000/ > > Using the URLconf defined

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-06 Thread meenakshi
Hi Steve, I do have the DEBUG setting on False. The reason is that when I set DEBUG to True, I get the following message: Page not found (404) Request Method: GET Request URL:http://127.0.0.1:8000/ Using the URLconf defined in mysite.urls, Django tried these URL patterns, in

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-05 Thread Steve Holden
On 8/5/2010 6:27 PM, meenakshi wrote: > > I am a beginner working through the Django tutorial. When I try to > run the development server at http://127.0.0.1:8000/, I get a > TemplateDoesNotExist: 500.html error. >I have no problems linking to http://127.0.0.1:8000/admin, > however.

Re: TemplateDoesNotExist - even though the template is in the correct folder

2010-06-05 Thread elysianfields
I'm talking to myself here, but in case someone else runs into the same problem, I'll summarize the cause & solution I used (although it's only a hack, I don't know if it will work consistently): Cause: If you have Python installed through Cygwin on Windows, Django is using the Cygwin path, which

Re: TemplateDoesNotExist - even though the template is in the correct folder

2010-06-05 Thread elysianfields
Well, after inserting a number of debugging statements in loader.py and filesystem.py, I found the cause of this; here's what the filesystem.py Loader's load_template_source attempts to access: filepath=u'/cygdrive/d/django-projects/localsite/D:/django-projects/

Re: TemplateDoesNotExist at /admin/

2010-03-20 Thread ragingmon
Solved this problem already. The problem lies inside of /usr/lib/python2.5/site-packages/django/ contrib/admin/. Some files were not installed properly. The login.html exist but it has no contents inside. I opened up the Django-1.1.1.tar.gz and grabbed /django/contrib/admin/ and extracted it in

Re: TemplateDoesNotExist at /admin/ on Centos with Django 1.1.1

2009-10-20 Thread Karen Tracey
On Sun, Oct 18, 2009 at 8:41 PM, Christophe Pettus wrote: > > Greetings, > > I'm installing Django on a Centos 5.3 system, running under mod_wsgi > on Apache, using Django 1.1.1. In a very basic install, when I > attempt to access the /admin/ URL, I get the above error... but

Re: TemplateDoesNotExist at /admin/ on Centos with Django 1.1.1

2009-10-19 Thread nausikaa
Hi Christophe Can you post some more information? What does settings.py look like? What does urls.py look like? How do you register the Models at the admin interface? On Oct 19, 2:41 am, Christophe Pettus wrote: > Greetings, > > I'm installing Django on a Centos 5.3

Re: TemplateDoesNotExist registration/login.html

2009-05-05 Thread Jarek Zgoda
Wiadomość napisana w dniu 2009-05-05, o godz. 11:57, przez Jerzy Orlowski: > I am trying to run loging example from django book: > http://www.djangobook.com/en/2.0/chapter14/ > > My urls.py is: > from django.conf.urls.defaults import * > from django.contrib.auth.views import login > from

Re: TemplateDoesNotExist error when postmortem says it exists?

2009-03-29 Thread Russell Keith-Magee
On Mon, Mar 30, 2009 at 1:42 AM, Rob Hudson wrote: > > Wow, that was a tricky one to track down... ... > I take it that gets interpreted as a single value tuple.  D'oh!  That It does, operator precedence notwithstanding (for example, a lambda expression returning a tuple

Re: TemplateDoesNotExist error when postmortem says it exists?

2009-03-29 Thread Rob Hudson
Wow, that was a tricky one to track down... After putting debug output in django/template/loaders/filesystem.py I saw that filepath was set to: '/Users/rob/git/anglers/anglers/templates/('book/ search_form.html',)' I back tracked that and found that I had a trailing comma in my view code:

Re: TemplateDoesNotExist error when postmortem says it exists?

2009-03-29 Thread Rob Hudson
On Sun, Mar 29, 2009 at 8:28 AM, Karen Tracey wrote: > That generally means the permissions don't allow the code to access the > file.  You don't mention if this happens with the dev server (which would > surprise me, since you can load the template from the shell) or only

Re: TemplateDoesNotExist error when postmortem says it exists?

2009-03-29 Thread Karen Tracey
On Sun, Mar 29, 2009 at 11:18 AM, Rob Hudson wrote: > > This is a stumper... > > I have a very simple view that is a wrapper around the generic view > direct_to_template. The loader finds the template as indicated in the > output "(File exists)", but yet I still get a

Re: TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2

2009-03-24 Thread brad
On Mar 2, 10:14 am, Karen Tracey wrote: > On Sun, Mar 1, 2009 at 10:56 PM, Chris Verehhotti < > > chris.peresso...@gmail.com> wrote: > > > > however, in my Thunar file viewer, every icon has a little "X" on it > > > -- this makes me think it's a permissions issue, but I'm a

Re: TemplateDoesNotExist

2009-03-17 Thread Karen Tracey
On Tue, Mar 17, 2009 at 12:00 PM, TP wrote: > > I have an error in my traceback saying the index.html file does not > exist, but it has been created in the correct DIR. > The exception traceback include a list of all the files the template loader looked for. Yours

Re: TemplateDoesNotExist

2009-03-17 Thread TP
Still stuck on this. The tutorial says: Put the following code in that template: {% if latest_poll_list %} {% for poll in latest_poll_list %} {{ poll.question }} {% endfor %} {% else %} No polls are available. {% endif %} by the template does it meant the

Re: TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2

2009-03-02 Thread Karen Tracey
On Sun, Mar 1, 2009 at 10:56 PM, Chris Verehhotti < chris.peresso...@gmail.com> wrote: > > > however, in my Thunar file viewer, every icon has a little "X" on it > > -- this makes me think it's a permissions issue, but I'm a Linux n00b > > and am not sure how to go about fixing this. Do I need

Re: TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2

2009-03-01 Thread Chris Verehhotti
> however, in my Thunar file viewer, every icon has a little "X" on it > -- this makes me think it's a permissions issue, but I'm a Linux n00b > and am not sure how to go about fixing this.  Do I need to do some > kind of recursive chmod on the entire django tree in site-packages? So. Probably

Re: TemplateDoesNotExist

2008-11-14 Thread [EMAIL PROTECTED]
I think the problem was a combination of an incorrect template directory and forgetting to touch dispatch.fcgi, in any case, it seems to be working now. Thanks for the help, Jason On Nov 13, 4:32 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-11-13 at 11:12 -0800, sergioh

Re: TemplateDoesNotExist

2008-11-13 Thread Malcolm Tredinnick
On Thu, 2008-11-13 at 11:12 -0800, sergioh wrote: > > are you using fastcgi? it could be an error on your syspath? The filesystem path in TEMPLATE_DIRS has absolutely nothing to do with Python's import path. These are files that are loaded via os.open() and read(). They aren't Python files at

Re: TemplateDoesNotExist

2008-11-13 Thread sergioh
are you using fastcgi? it could be an error on your syspath? On Nov 13, 3:57 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2008-11-12 at 23:05 -0800, [EMAIL PROTECTED] wrote: > > Sorry about the inconsistency but just to be clear, here is what I > > have: > > > Dreamhost

Re: TemplateDoesNotExist

2008-11-12 Thread Malcolm Tredinnick
On Wed, 2008-11-12 at 23:05 -0800, [EMAIL PROTECTED] wrote: > Sorry about the inconsistency but just to be clear, here is what I > have: > > Dreamhost directory structure: > > TEMPLATE_DIRS = ( > # Put strings here, like "/home/html/django_templates" or "C:/www/ > django/templates". >

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
Sorry about the inconsistency but just to be clear, here is what I have: Dreamhost directory structure: TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/ django/templates". # Always use forward slashes, even on Windows. # Don't forget to use

Re: TemplateDoesNotExist

2008-11-12 Thread Malcolm Tredinnick
On Wed, 2008-11-12 at 22:12 -0800, [EMAIL PROTECTED] wrote: > The directory structure is: > > /home/USERNAME/projects/django_templates/SITENAME/polls > - index.html > - base.html If the directory name is "/home/USERNAME/project/..", then why have you put

  1   2   >