Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
RESOLVED. I managed to fix it. The problem .. Was so obvious. In *views.py* I did not provide the* cart.html *and *checkout.html* with the same configurations as *store.html*. Thus, this caused the 500 server errors. I hope that this thread can help anyone in the future that encounters a similar p

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
Hi Kasper, I am getting the following error: raise TemplateDoesNotExist(template_name, chain=chain) django.template.exceptions.TemplateDoesNotExist: ./store/cart.html How can the template not exist if the other templates exist? Lol, it seems impossible. On Thu, Sep 3, 2020 at 8:31 AM Kasper La

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread Kasper Laudrup
Hi King Niko, On 03/09/2020 13.44, King Niko wrote: Okay, so I fixed everything with Django Logging- including getting the pictures to show up in the store. What's written in the Django logs when you get the 500 errors? Kind regards, Kasper Laudrup -- You received this message because you

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
Okay, so I fixed everything with Django Logging- including getting the pictures to show up in the store. However, one thing still remains - recognizing the *store/cart.html* and *store/checkout.html* To get the pictures to appear from the DJANGO ADMINISTRATION, I used the following: urlpatterns

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-02 Thread Kasper Laudrup
Hi King Niko, On 02/09/2020 17.46, King Niko wrote: *I have not managed to get the Django log up and running, but this may help to get guidance on resolving the issue:* You should get access to the Django log. It's pointless to waste time on guessing what might be wrong when you could have

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-02 Thread King Niko
*I have not managed to get the Django log up and running, but this may help to get guidance on resolving the issue:* I have noticed that most of my bugs reside within utils.py under the "cart = {}" : def cookieCart(request): #Create empty cart for now for non-logged in user try: c

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-01 Thread Kasper Laudrup
Hi King Niko, On 01/09/2020 07.43, King Niko wrote: The console does not seem to provide much information. It is simply stating that there is a 500 Server Error. I tried sifting for more details but there were none. The console in your browser is not providing any information because it do

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread King Niko
The console does not seem to provide much information. It is simply stating that there is a 500 Server Error. I tried sifting for more details but there were none. However, in the: *> heroku logs --tail * It simply mentions that none of the paths exist to *the cart * and *the images *that derive

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread RANGA BHARATH JINKA
open console tab not elements tab On Tue, Sep 1, 2020 at 10:13 AM King Niko wrote: > Interesting, the browser console states the following: > > > > > Server Error (500) > > > Server Error (500) > > > > How could the *title* and *header 1* be causing the Server Error (500)? > > On Tue,

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread King Niko
Interesting, the browser console states the following: Server Error (500) Server Error (500) How could the *title* and *header 1* be causing the Server Error (500)? On Tue, Sep 1, 2020 at 12:39 AM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > check in browser consol

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread RANGA BHARATH JINKA
Hi, check in browser console for errors On Tue, Sep 1, 2020 at 2:27 AM Lightning Bit < thelegendofearthretu...@gmail.com> wrote: > I logged into the ADMIN PORTAL and saw that there was an image for each > item in the ADMIN PORTAL. > > Strangely, when returning to the website, I am unable to actu

DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread Lightning Bit
I logged into the ADMIN PORTAL and saw that there was an image for each item in the ADMIN PORTAL. Strangely, when returning to the website, I am unable to actually "see" the pictures - they are blank with the no file icon in the top left. This was not the case back in the testing environment.