Wednesday, August 29, 2018

Re: how to make https work in django REST framework on runserver port

Hi Rupam,

On 29/08/2018 17.44, Rupam Hazra wrote:
> I want to do on production but how .
> could you elaborate me because i am new in python

You shouldn't be using the development server in production. That is
quite clearly stated in the documentation for good reasons.

You could set up a web server that forwards HTTPS requests to the Django
development server, but that would require pretty much the same amount
of work as doing it the proper way and set up your Django app as WSGI
application as explained here:

Please just follow that guide instead.

Kind regards,

Kasper Laudrup

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment