Pre-release
This release is a pre-release and may not be stable for production use.
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 [])`
===================
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 0.1.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-ssl-redirect-0.1.1a2.zip | 6.6 kB | Details |
Release files / django-ssl-redirect-0.1.1a2.zip
| Download URL | django-ssl-redirect-0.1.1a2.zip |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f67e2fdfff21b30a184293354a72cd8427b11f0b23b066e12a4c8ce9c77d92a9
|
|
BLAKE2b-256 checksum How to use checksums |
c5a55bed4ea3275ead945eb019f10a0af411cbda15db4d29ce661e09cbe37533
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |