The easiest way to do this is to use an app called django-sslserver.
It adds a new management command that serves content over SSL, and generates its own certificates.
I had tried things like stunnel… and ultimately this was the easiest solution.
I need it purely to test a Shopify app which must be served over HTTPS.
very good