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 V

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 Wedn

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')] > > O

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: > Than

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 templat

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

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 your

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 spe

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 10

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 Temp

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

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 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 `settings.TEMPLATES.DIR

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 Saturda

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 Template-loader postmortem s

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: > > /Data/virtualenv/django/djggProj/('/Data/virtualenv/django/djggProj/templates',)/index.ht

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 in

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

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 dangerous phrase in t

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 subscribe

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 above error when I tr

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 that django does see the templates which I have

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. > Are you trying to say

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 djang

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 loader django.template.lo

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 /u

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 the > templates are

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 system, running under mod

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 Linux n00b > > > and

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 to

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 w

Re: TemplateDoesNotExist at /admin/

2008-07-19 Thread eka
I just got a MacBook with Tiger os. Installed MacPython and got Django from SVN. Followed the installation on how to link the django dir to the site-packages, and in my case, since is a sym link the templates are in the same tree that the django code, but still having this trouble... the path: /

Re: TemplateDoesNotExist at /admin/

2008-06-22 Thread sggottlieb
I will do that. In the meantime, I wanted to add that to make the admin interface look pretty you need to copy the media directory as well. --Seth On Jun 21, 10:24 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Jun 21, 2008 at 9:22 AM, sggottlieb <[EMAIL PROTECTED]> wrote: > > Thanks K

Re: TemplateDoesNotExist at /admin/

2008-06-21 Thread Karen Tracey
On Sat, Jun 21, 2008 at 9:22 AM, sggottlieb <[EMAIL PROTECTED]> wrote: > Thanks Karen! That was the issue. > Glad that was it, and it sounds like you could fix the symptom. To get a real fix implemented it would be helpful for you to post details of your system (new install, upgrade from an ear

Re: TemplateDoesNotExist at /admin/

2008-06-21 Thread sggottlieb
Thanks Karen! That was the issue. --Seth On Jun 21, 12:49 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > 2008/6/20 sggottlieb <[EMAIL PROTECTED]>: > > > > > Hello all, > > > I am running 0.96 and and was breezing through the tutorials until I > > hit the part where you enable the admin site (h

Re: TemplateDoesNotExist at /admin/

2008-06-20 Thread Karen Tracey
2008/6/20 sggottlieb <[EMAIL PROTECTED]>: > Hello all, > > I am running 0.96 and and was breezing through the tutorials until I > hit the part where you enable the admin site (http:// > www.djangoproject.com/documentation/0.96/tutorial02/). > > I get this error message: > > > TemplateDoesNotExist

Re: TemplateDoesNotExist at /admin/

2008-02-22 Thread Karen Tracey
On Tue, Feb 19, 2008 at 4:28 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Feb 19, 2008 4:06 PM, RichardH <[EMAIL PROTECTED]> wrote: > > > > > Karen, > > Thanks for your analysis. Yes, I can confirm that I don't have the > > locale files either. > > Deleting my Django install and "running pytho

Re: TemplateDoesNotExist at /admin/

2008-02-18 Thread Karen Tracey
On Feb 18, 2008 6:20 PM, RichardH <[EMAIL PROTECTED]> wrote: > > Just rebuilt Windows XP on a new hard disk and I have found the same > problem installing Python 2.5 and the latest SVN checkout (rev 7129). > Setup.py install doesn't copy across the templates and media folders > into C:\Python25\Li

Re: TemplateDoesNotExist at /admin/

2008-02-18 Thread RichardH
Just rebuilt Windows XP on a new hard disk and I have found the same problem installing Python 2.5 and the latest SVN checkout (rev 7129). Setup.py install doesn't copy across the templates and media folders into C:\Python25\Lib\site-packages\django\contrib\admin. Like Nathan, a manual copy solved

Re: TemplateDoesNotExist at /admin/

2008-02-03 Thread Nathan
Same error here on Mac OS X Leopard, having installed from the 0.96.1 tarball via setup.py. TemplateDoesNotExist at /admin/ admin/login.html Those folders are not present in: /Library/Python/2.5/site-packages/django/contrib/admin/ A manual copy + authenticate resolved the issue. --~--~

Re: TemplateDoesNotExist at /admin/

2008-01-23 Thread aws.python.enthusiast
What I found is the following: Platform: Windows-XP (1) When I check out the trunk from svn (svn co http://code.djangoproject.com/svn/django/trunk django-source) and then run "python setup.py install" from django- source, the script does not install the following: site_packages/django/contrib/

Re: TemplateDoesNotExist at /admin/

2008-01-16 Thread Guillermo
Now it worked! :-) These two folders were missing in my install: python/libs/site_packges/django/contrib/admin/templates python/libs/site_packges/django/contrib/admin/media Copying them from the downloaded django installation files does the trick. Cheers, Guillermo --~--~-~--~~--

Re: TemplateDoesNotExist at /admin/

2008-01-16 Thread Guillermo
> How did you get/install 0.96? I've seen this reported before but I don't > know what causes it, and have not been able to recreate it myself. You are > missing the admin templates. I downloaded the official release from the Django Project site and followed the installation tutorial. I doubt

Re: TemplateDoesNotExist at /admin/

2008-01-16 Thread Karen Tracey
On Jan 16, 2008 8:21 AM, Guillermo <[EMAIL PROTECTED]> wrote: > It doesn't work. :-( > > Two things, though I suppose it was a typo: > > Instead of: > > python/libs/site_packges/django/contrib/admin/templates > > ... i only found: > > python/libs/site_packges/django/contrib/admin/templatetags > >

Re: TemplateDoesNotExist at /admin/

2008-01-16 Thread J. Cliff Dyer
Guillermo wrote: > It doesn't work. :-( > > Two things, though I suppose it was a typo: > > Instead of: > > python/libs/site_packges/django/contrib/admin/templates > > ... i only found: > > python/libs/site_packges/django/contrib/admin/templatetags > > Is that correct? There are no html files in t

Re: TemplateDoesNotExist at /admin/

2008-01-16 Thread Guillermo
It doesn't work. :-( Two things, though I suppose it was a typo: Instead of: python/libs/site_packges/django/contrib/admin/templates ... i only found: python/libs/site_packges/django/contrib/admin/templatetags Is that correct? There are no html files in this folder, only python code. Regar

Re: TemplateDoesNotExist at /admin/

2008-01-15 Thread 1234
settings.py 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 absolute paths, not relative paths. #"./templates/", "E:/myproject/wedding/templates/", ) you