Re: data not coming into html

2019-05-22 Thread Soumen Khatua
I'm using media for development purpose and i configured that acordingly,So I don't think this could be the problem.Not new actually. please go through this link once:https://github.com/Herosoumen/clothproject On Wed, May 22, 2019 at 7:12 PM Anirudh Jain wrote: > Why is your shop templates folde

Re: data not coming into html

2019-05-22 Thread Anirudh Jain
Why is your shop templates folder outside the shop app folder? You dont even have any static files folder, niether in shop app nor in cart app. May be you could manage it first. BTW are you new to django? (just asking) On Wed, 22 May 2019, 19:03 Soumen Khatua, wrote: > *cart.py* > > class Cart(o

Re: data not coming into html

2019-05-22 Thread Soumen Khatua
*cart.py* class Cart(object): def __init__(self,request): self.session = request.session cart = self.session.get(settings.CART_SESSION_ID) if not cart: # save an empty cart in the session cart = self.session[settings.CART_SESSION_ID] = {} self.cart = cart def add(self,product,quantity = 1,upda

Re: data not coming into html

2019-05-22 Thread Anirudh Jain
Can you tell which function in which app you are using to show data in which template ? On Wed, 22 May 2019, 18:56 Soumen Khatua, wrote: > Hi Folks, > Guys I'm not getting my data into html after rendered that still I'm not > getting my data,i'm sharing my github link: > https://github.com/Heros

data not coming into html

2019-05-22 Thread Soumen Khatua
Hi Folks, Guys I'm not getting my data into html after rendered that still I'm not getting my data,i'm sharing my github link: https://github.com/Herosoumen/clothproject.Please go through this link.Please guys help me it's urgent. Thank You -- You received this message because you are subscribe