Skip to main content
Django SSL Redirect
===================

Django SSL Redirect is a middleware that ensures secured URLs and only secured URLs are accessed securely over HTTPS.

Installation
------------

Run `pip install django-ssl-redirect`

Securing Views
--------------

To secure a view simply add `'SSL': True` the views kwargs

```python
urlpatterns = patterns('my_app.views',
url(r'^secure/path/$', 'secure_view', {'SSL':True}),
)
```

Settings
--------
Use secure redirects.

`USE_SSL (default True)`

Name of the view kwarg.

`SSL (default 'SSL')`

Port number of the SSL connection. If not None it is appended after the host.

`SSLPORT (default None)`

A list of secure paths.

`HTTPS_PATHS (default [])`

Metadata

Release files for django-ssl-redirect 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-ssl-redirect 1.0
File Size Uploaded
django-ssl-redirect-1.0.zip 7.0 kB Details

Release files / django-ssl-redirect-1.0.zip

Download URL django-ssl-redirect-1.0.zip
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
863103e4082f40efb7e57b17724f2e24a5f510387b77a88a8729a1cfd1fb1bca
BLAKE2b-256 checksum
How to use checksums
16fa30aa31d08407ce7962b5759aa4e265a051c5819b1ead8e37ecaa2bf323fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.2

1 release file

2.1.1

1 release file

2.1

1 release file

2.0

1 release file

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page