Re: how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread Rajkumar Mittal
path("events//", views.getEvents, name = "getEvents"), this is the correct way On Monday, 14 October 2019 14:19:58 UTC+5:30, leb dev wrote: > > I have a django project that includes a popup modal where the modal has > tabs as links one of these tabs once the user clicked it must perform a >

Re: how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread Rajkumar Mittal
Use views.getEvents in urls.py On Mon, 14 Oct, 2019, 2:20 PM leb dev, wrote: > I have a django project that includes a popup modal where the modal has > tabs as links one of these tabs once the user clicked it must perform a > function and retrieve data from the database. > > The problem is that

Re: CSS not working

2019-10-13 Thread Rajkumar Mittal
sure On Friday, 11 October 2019 08:48:42 UTC+5:30, yasar arafath Kajamydeen wrote: > > Hi All, > > I just added style sheet in my application but its not working , Please > try to help me. > > > Setting.py > > > > import os > > # Build paths inside the project like this: os.path.join(BASE_DIR,

Re: getting image to show in view in django

2019-10-13 Thread Rajkumar Mittal
Your base.html page works correctly? Because you are using it in how_to.html page On Sunday, 13 October 2019 17:33:57 UTC+5:30, John McClain wrote: > > Hello, > > I have built mvc django store and am able to see my images related to the > products I upload. However, I am not able to see images l

Re: Multiple foreign Field

2019-10-13 Thread Rajkumar Mittal
Can you give the code so that I can contribute to your project On Saturday, 12 October 2019 19:50:30 UTC+5:30, Kivai Muinde wrote: > > I have two model classes, *school* and *profile*. > The school model contains a field called school_level which has several > choices( primary, secondary , col