when I click the right button in my slider it moves right, but after once moving right its neither moves right nor left even after clicking the slide left button or slide right button. views.py here i

2020-10-24 Thread Dhruvil Shah
views.py def index(request): allProds = [] catprods = Allmusic.objects.values('category', 'sno') cats = {item['category'] for item in catprods} for cat in cats: prod = Allmusic.objects.filter(category=cat) n = len(prod) nSlides = n // 4 + ceil((n / 4) - (n // 4)) allProds.append([p

Re: Integrating GeoDjango with Esri API

2020-11-20 Thread Dhruvil Shah
You can follow this YouTuber he has made a project on GeoDjango. https://youtu.be/_KIMevaubfQ On Fri, 20 Nov 2020, 18:29 Rodrigo Cea, wrote: > I'm developing a mapping website. I will be consuming map layers from ESRI > Online. I see they have a fairly sophisticated Python API. The site will b

Re: Integrating GeoDjango with Esri API

2020-11-20 Thread Dhruvil Shah
eo, and that's what I specifically need. > > Saludos, > *Rodrigo Culagovski* > Director > +569 7667 0402 > H98R+8C Santiago > > > > On Fri, 20 Nov 2020 at 15:43, Dhruvil Shah wrote: > >> You can follow this YouTuber he has made a project on GeoDjango. &g

Guidance for Django-React

2020-11-30 Thread Dhruvil Shah
I am currently learning Django and made many projects in it. And I have also made DRF API projects. So, now I am thinking of learning React for frontend development and will make projects with React and Django. Afterwards, I am also thinking of making Django Rest API of any projec

Re:

2020-12-03 Thread Dhruvil Shah
I suggest u to watch tutorial on YT if Code with Harry Geeky Shows Code with Mitch On Thu, 3 Dec 2020, 19:26 neha, wrote: > Hi, > > I am a beginner in Django,I watched a tutorial on Django from edx > course,and followed the same procedures but getting 404 error for the very > basic app(hello ap

Django has Future?

2020-12-13 Thread Dhruvil Shah
I am currently confused that Django has Future or not. Because I am not able to find that much local companies using Django. I also see demand of Nodejs is increasing day by day. So, should I start learning Nodejs, express for Backend due to lack of opportunities or if Django has future I will sti

Migration of database

2020-12-14 Thread Dhruvil Shah
I have already made my project in Django and used built-in database Sqlite and now I want it in production on heroku so how can I switch all data from Sqlite database to Postgresql database? -- You received this message because you are subscribed to the Google Groups "Django users" group. To uns

Re: 127.0.0.1 refused to connect.

2020-12-18 Thread Dhruvil Shah
Try uninstalling django and re-install it On Fri, 18 Dec 2020, 23:42 Parul., wrote: > I am using the command python manage.py runserver > But it is not running the servers > I tried localhost with 8000 and 8080 also > The tried 0.0.0.0:8000 and with 8080 > > > I am not running any other servers.

Can anyone please look at this query and help me to make a model for it

2020-12-23 Thread Dhruvil Shah
https://stackoverflow.com/questions/65427344/how-to-select-multiple-person-for-same-project -- 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

How to make relationship in django models in such scenario

2020-12-31 Thread Dhruvil Shah
*models.py* So,here i want to make Invoicemgmt model in which i can have multiple entries for Invoice table having customer,project and Invoice_amount. Basically,requirement is that whenever i see 'view_Invoice' of some id,first i will see all data of that specific id on that page and then i want

How to Use CRUD Operation in Any Page

2021-01-03 Thread Dhruvil Shah
Basically i want to do CRUD operation in one specific table Id for example if i am in 'http://127.0.0.1:8000/view/1' this page i want to do crud operation for this specific id and have small table below it. 2 tables class Allinvoice(models.Model): class Invoicedetails(models.Model) invoice =

How to use chartjs

2021-01-08 Thread Dhruvil Shah
Basically I want to use 'chartjs' for display "Clustered Bar chart", with following things year wise Total amount Amount Received Amount Left I want to fetch data from data base and display it on chart, I have saved data of all above field 3 fields in one table for each date and I want to also f