Re: how to send to sms to moblie number on one click at time to 25 numbers from django website ,,,,,, please anyone here for guidance

2019-12-17 Thread Parth Joshi
May be you can put a background service instead of doing it asynchronously. Wait time of 25 SMS responses will be annoying for user experience. Regards, Parth Joshi > On 17-Dec-2019, at 7:00 PM, Gil Obradors wrote: > > Hi Jani! > > > First you need a provider able to

Re: Postman API error

2019-12-17 Thread Parth Joshi
You have to pass the csrf token in the header in postman. Regards, Parth Joshi > On 17-Dec-2019, at 5:54 PM, Tosin Ayoola wrote: > > Hey guys I built an Api with django, generally for sign up, it's meant to b > used for Android app development, but now when tryi

Re: I am creating a project management app Each user has multiple projects and each project has a set of data When first logged in the user sees a list of all the projects only he created.i am able to

2019-12-15 Thread Parth Joshi
Question is trimmed in the subject line. Can you paste it in description? > On 15-Dec-2019, at 10:50 PM, Raviteja Reddy wrote: > > https://groups.google.com/d/msgid/django-users/0ff70f63-df88-430a-ba3c-4b0273395999%40googlegroups.com > >

Re: Session backend for production

2019-11-25 Thread Parth Joshi
Cache implementation will be definitely use faster if you are using MVT. If using REST (DRF) then token Auth definitely helps. Regards, Parth Joshi > On 26-Nov-2019, at 2:41 AM, Lorenzo Peña wrote: > > Hello, fellow djangonauts! > > Is there any particular reason wh

Re: Error while uplaoding the models data from excel through admin page

2019-11-11 Thread Parth Joshi
Error seems to be in allotment_exam.Examname model. The model code which you have pastes is of “Exam” Regards, Parth Joshi > On 10-Nov-2019, at 11:34 AM, Mohan Goud wrote: > > > > I have to import the data into models from excel sheet from admin site and > the code

Re: Microservice with django

2019-11-09 Thread Parth Joshi
ht pattern. Regards, Parth Joshi > On 09-Nov-2019, at 1:50 AM, Nick Sarbicki wrote: > > There is not really anything that requires doing to make Django work with > microservices or as a microservice. > > It is completely agnostic to your overall architecture. > &g

Re: I have two models which are associated to each other through a ForeignKey how to delete the child model object without affecting parent model object

2019-11-09 Thread Parth Joshi
to DELETE on cascade or SET_NULL on related fields. Hope this helps Regards, Parth Joshi > On 09-Nov-2019, at 7:16 PM, Nijo Joseph wrote: > > Since you are deleting the child model object none of these matters. But if > you are deleting the parent model object on_delete matt

Re: read multiple document in create function of viewset

2019-11-07 Thread Parth Joshi
Can you paste in the code snippet ? > On 07-Nov-2019, at 5:00 PM, Amit Agarwal wrote: > >  > I am passing a more than one JSON document in post request, in create method > of viewset, when I validate it, it raises an error " > > > "detail": "JSON parse error - Extra data: line 5 column

Re: Open Source IDE to start with Django Web development

2019-11-07 Thread Parth Joshi
VS Code works like a Charm. (Pun intended :-) ) There are lint, autocomplete and git extensions which you can use for setting up dev environment. Regards, Parth Joshi > On 06-Nov-2019, at 4:22 PM, himanshu goyal wrote: > > To Community, > > Greetings! > > Could yo

Re: ListView is not showing me the latest created item made by CreateView !

2019-11-04 Thread Parth Joshi
Can you share some code snippet to have better clarity? On Sunday, 3 November 2019 20:33:45 UTC+5:30, Franz Ulenaers wrote: > > ListView is not showing me the latest created item made by CreateView even > after a refresh of my browser ! > It is only solved when i restart the django server with '

Re: Help with manage.py help

2019-11-03 Thread Parth Joshi
This mostly happens when your either django is intalled fully in global context or in virtual enviironment. Are you using virtual environment ?. If so, did you install django in the virtual env? Did you activate the virtualenv before proceeding ? On Saturday, 2 November 2019 20:21:02 UTC+5:30

Re: How to use session in django

2019-11-03 Thread Parth Joshi
Hi Amit, Here there are two ways: 1. Capture the csrf cookies and send it with request as we do it for AJAX request. https://docs.djangoproject.com/en/2.2/ref/csrf/#ajax. Here you will have to figure it out for python. 2. If you are doing it for testing purpose and want to bypass c