Django site as SOAP endpoint

2021-01-30 Thread Fenrir Sivar
I’m working on a project where one of the remote parties requires us to serve a SOAP api. I have plenty experience with DRF, but only found soap client examples (using The ’zeep’ module: zeep==soap in Dutch) which I use to call the SOAP api from the other party . There is django-soap-server but

Re: How can I use my Company SSO(Single sign On ) for login into my django application ??

2021-01-30 Thread Dhiraj D.J
If its shibboleth follow this. https://documentation.its.umich.edu/node/343 Use Apache with wsgi. Thanks, Dhiraj D J On Sat, Jan 30, 2021 at 12:16 PM Ryan Nowakowski wrote: > > > On January 27, 2021 8:14:55 AM CST, Larry Martell > wrote: > >On Wed, Jan 27, 2021 at 6:02 AM Kumar Gaurav > >

problem at saving a file (namecheap)

2021-01-30 Thread mohamed masstour
i have a problem with Django project (namecheap) , when i try to saving a file i get a Server Error (500)please help me . -- 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

how to split in multiple file class models.py?

2021-01-30 Thread Manuel
Hello everyone, I have a question about Django and the use of namespaces or packages to split the models.py file. I would like to adopt the Java philosophy in which one file corresponds one class and one db table. I tried to follow this guide, but it doesn’t work.

Re: How can I use my Company SSO(Single sign On ) for login into my django application ??

2021-01-30 Thread Ryan Nowakowski
On January 27, 2021 8:14:55 AM CST, Larry Martell wrote: >On Wed, Jan 27, 2021 at 6:02 AM Kumar Gaurav > wrote: >> >> Hii , >> >> My users come to my django application after authenticated from >company SSO. >> Now , I don't want to create my own authentication model. I just want >to login

Re: How would this be done within the Django framework?

2021-01-30 Thread Chris Evans
Hi Ryan, Thanks, that's very helpful. I suspected that this would require REST. DRE On Sat, Jan 30, 2021 at 12:54 PM Ryan Nowakowski wrote: > On Sat, Jan 30, 2021 at 08:49:09AM -0800, dazzle.razzle.em wrote: > > I am new to Django and to web development, and am trying to get my > bearings. >

Re: Show FK as input instead of drop down in admin

2021-01-30 Thread Ryan Nowakowski
On Wed, Jan 27, 2021 at 05:33:10AM -0800, Kevin Olbrich wrote: > Is it possible to disable fetching of related models for admin pages? > I have a field that links to a table containing more than 1M rows which > django tries to fetch and build the drop down. For my purpose, it is > sufficient if

Re: How would this be done within the Django framework?

2021-01-30 Thread Ryan Nowakowski
On Sat, Jan 30, 2021 at 08:49:09AM -0800, dazzle.razzle.em wrote: > I am new to Django and to web development, and am trying to get my bearings. > > Suppose that I provide a web page that asks the user for an airport, a > start date, an end date, a number of days. The server is supposed to go

Re: Django Microsoft Authentication Backend not succeeding on new deployments

2021-01-30 Thread Ryan Nowakowski
On Fri, Jan 29, 2021 at 08:58:48AM -0800, Larry Martell wrote: > We finally found the issue - I said we had the same version of all the > python packages but we did not - the new system had 2.0.1 version of > pyjwt. When we downgraded to 1.7.1 it started working again. The > requirements file for

How would this be done within the Django framework?

2021-01-30 Thread dazzle.razzle.em
I am new to Django and to web development, and am trying to get my bearings. Suppose that I provide a web page that asks the user for an airport, a start date, an end date, a number of days. The server is supposed to go to the NOAA website, grab temperature data for the range of dates, and do

multi process Daphne with supervisor, getting [Errno 88] Socket operation on non-socket

2021-01-30 Thread Eslam Elhadedy
any Solution for this problem? https://stackoverflow.com/questions/60275656/multi-process-daphne-with-supervisor-getting-errno-88-socket-operation-on-non#_=_ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Django Channels:Detect whether disconnect() was done client or server?

2021-01-30 Thread Amazing Cowboy
Hello! I need to detect whether connection was closed by server or client.How to do it? *disconnect() *gets called when client disconnects or server disconnects (using *self.close() *or by not *accept()-ing* during *connect() ).*So I need to detect who caused the disconnect and take action

IntegrityError on a foreign key constraint

2021-01-30 Thread degnon...@gmail.com
Hi, I'm having a really incomprehensible error currently. We are working with three models here, "DataImport", "Contact" and "Dataset", the DataImport model import data from a file to a Dataset object, the data is imported as a Contact object , the DataImport model have a foreign key to the

Re: multiplying two fields

2021-01-30 Thread Mai Elshiashi
This will work data = Articles.objects.all().annotate(result=ExpressionWrapper(F('cost_buy') * F('quantity') , output_field=FloatField())) now data is a queryset. so you can do something like this data[0].result data.values("result") -- You received this message because you are subscribed to