Re: css not being rendered for api endpoint page when using apache

2021-02-16 Thread Shaharyar Shamshi
You need to collect static files from virtual environment run python manage.py collectstatic shaharyar shamshi software developer On Tue, Feb 16, 2021, 18:31 Muthukumaran M wrote: > I deployed my django website using drf using apache on aws but the css is > not being rendered for the ap

Re: Change urls' scheme from http to https in api-root

2021-01-28 Thread Shaharyar Shamshi
Learn about uwsgi and you can make docker image shaharyar shamshi software developer On Thu, Jan 28, 2021, 20:13 VenkataSivaRamiReddy wrote: > i dont have idea on ti but i want to make my Flask Rest API application to > live using AWS EC2 > > On Thu, Jan 28, 2021 at 7:39 PM Sudh

Re: Change urls' scheme from http to https in api-root

2021-01-28 Thread Shaharyar Shamshi
They must be separate microservice ? shaharyar shamshi software developer On Thu, Jan 28, 2021, 18:12 VenkataSivaRamiReddy wrote: > can anyone share me or help me for python+flask or python+django > Application deployment steps on AWS or Azure > > On Thu, Jan 28, 2021 at 4:

Re: Change urls' scheme from http to https in api-root

2021-01-28 Thread Shaharyar Shamshi
Add SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') In setting file shaharyar shamshi software developer On Thu, Jan 28, 2021, 15:47 Ruslan Shamsutdinov wrote: > I created an API, deployed it on the server on 8443 port and setup > cloudflare's SSL

Migration to LDAP authentication

2021-01-08 Thread Shaharyar Shamshi
Hello everyone first of all thank you for looking into the message actually As of now we are using token authentication in DRF one of our client has asked for the LDAP authentication can anyone help me understanding which will be better approach and also how can I migrate to LDAP from token aut