Re: Strange issue with django

2019-12-27 Thread 'Amitesh Sahay' via Django users
Also let us know the procedure that you adopted to upgrade to the new version? Regards, Amitesh On Thursday, 26 December, 2019, 10:19:31 pm IST, Jason wrote: Also, you haven't stated where the bottlenecks are happening.  Is it app code, internal in django, your stack, database, ne

Display Multiselect bootstrap drop-down value in div with checkbox options

2019-12-27 Thread Santhosh sridhar
Hi, I have a multiselect bootstrap drowdown. I want to display the selected values from a drop-down in a separate div as rows with multiple checkboxes to select. How I can proceed for this? Like I have selected 3 items(I1,I2,I3) from dropdown then i should display all the three items as rows wi

social_django

2019-12-27 Thread Yeswanth Kumar
social_django integration for my django web application (Authentication failed login using github ). -- 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-u

Outsourcing of django code for new startup

2019-12-27 Thread sandeep kumar
Hi All, I am setting up a startup and looking for any django group who can develop some of our code and manage the existing code. We are looking for India-based budget option as we have very limited fund available. Attached is a basic description of the project. Feel free to write to me at skc

Re: How to request data from an open source website such as Reddit or Github and display on the Local Django Website ?

2019-12-27 Thread lemme smash
you've really did the great, but in order to receive data from reddit you'll need to research on their api and it's not very related to django. On Thursday, December 26, 2019 at 4:05:14 PM UTC+3, Shaurya Sharma wrote: > > Hey there , I am quite a newbie to Django and I am trying to understand >

Re: angular setup for django (routes not working)

2019-12-27 Thread lemme smash
you doing something strange. usually, when you want to setup angluar with django, you just using `ng serve` to handle all the interface, and just use django for data and api. it's not a good idea to render angular app with django On Thursday, December 26, 2019 at 4:05:14 PM UTC+3, nitish kumar w

structured menu cannot be rendered in html template, why?

2019-12-27 Thread হজমুলা খান
i would like to make a structure database for a restaurant menu without using mptt or django-tree. here is my *models.py:* > from django.db import models > > class Menu(models.Model): > > name = models.CharField(max_length=24, unique=True, verbose_name='menu >> name') > > #slug = models.SlugFiel

Re: How to request data from an open source website such as Reddit or Github and display on the Local Django Website ?

2019-12-27 Thread Karan Mittal
hey Shaurya, if you haven't worked with DRF then check it out. It will give you a much better idea of API calls. Other than that, Reddit have its own API for you want to achieve. check out its documentation here: https://www.reddit.com/dev/api/ there is a difference between web crawling and reques

Re: Duplication of Query - reg

2019-12-27 Thread Raja Sekar Sambath
Hi, Thanks for your reply, I have included select_related in my view but no result. On Fri, 27 Dec 2019 at 13:16, Sencer Hamarat wrote: > Hi, > > That could be a behavior of a template tag or a "for" block in the > template. > You may consider to use ".select_related" and ".prefetch_related" in

Re: Outsourcing of django code for new startup

2019-12-27 Thread 'Peter van der Does' via Django users
You get what you pay for: https://www.youtube.com/watch?v=6-ksI6FWST4 On 12/27/19 9:08 AM, sandeep kumar wrote: > Hi All, > > I am setting up a startup and looking for any django group who can > develop some of our code and manage the existing code. We are looking > for India-based budget option

How to get Latitude and Longitude of a user

2019-12-27 Thread Yash Garg
I want to get Latitude and Longitude of a user to store in my data model fields- latitude= models.FloatField(default=0.0) longitude = models.FloatField(default=0.0) How can i do this without using Google API. -- You received this message because you are subscribed to the Google Gr

Re: Overriding Prefetched objects in Serialization

2019-12-27 Thread Integr@te System
Hi Barddes, Bc of you alter model, so let try to command migration, makemigration. On Fri, Dec 27, 2019, 00:46 Cesar Bueno wrote: > Hi! > > I'm having trouble overriding some prefetched data, I hope someone can > help me here. I'll try to explain my issue with the examples provided from > th

Re: How to get Latitude and Longitude of a user

2019-12-27 Thread carlos
https://github.com/makinacorpus/django-leaflet On Fri, Dec 27, 2019 at 1:02 PM Yash Garg wrote: > I want to get Latitude and Longitude of a user to store in my data model > fields- > latitude= models.FloatField(default=0.0) > longitude = models.FloatField(default=0.0) > > How can i

Re: Strange issue with django

2019-12-27 Thread Andréas Kühne
Ok - let's take this one piece at a time. 1. As far as we have been able to tell is that we have nested serializers for certain aspects of the application - those went from loading in 3-4 s to over 40 s in different places. It's hard to exactly show, however the number of database requests skyrock

Password protection of url in gunicorn like .htaccess

2019-12-27 Thread Roshan Shah
Hi there, I have a django site hosted on heroku. I want to restrict production site and staging sites running gunicorn to outside general public. Do we have anything like .htaccess password protection in gunicorn? or Do I have to setup login / pass / admin area? -- Roshan Shah This e-mail mes

Re: social_django

2019-12-27 Thread peng yu
share your configurations and errors On Fri, Dec 27, 2019 at 19:03 Yeswanth Kumar wrote: > social_django integration for my django web application (Authentication > failed login using github ). > > > > -- > You received this message because you are subscribed to the Google Groups > "Django us