Django Zendesk
django_zendesk provides single-sign on functionality between a
django.contrib.auth based site and Zendesk. Other authentication
systems are compatible as long as they implement the
@login_required decorator. This differs from the other
implementations in that it exposes out company, external_id, tags, etc.
Note:
This fork provides for changes specifically for Pivotal Energy Solutions
SETUP
django_zendesk needs two settings.py variables to be implemented:
ZENDESK_URL: The URL of your support page, will either be on zendesk.com or your own domain (via a CNAME record)ZENDESK_TOKEN: The authentication token token you receive from Zendesk when setting up remote authentication
The only other code setup required is pointing a URL at the
django_zendesk.views.authorize method, it will look something like:
(r'zendesk/$', 'django_zendesk.views.authorize')
Zendesk itself needs a bit of setup, including the URL we just set up above and a log-out URL which already should be implemented somewhere in your site.
Zendesk's documentation for remote authentication is here :
If you're running the tests, make sure to set the TEST_DATABASE_CHARSET
setting so that test databases are created to be utf8 compatible.
CREDIT:
Initial idea by Jon Gales with improvements by Alexander Ljungberg.
See initial idea/blog post [here][intial_idea] and here
Build Process:
- Update the
__version_info__inside of the application. Commit and push. - Tag the release with the version.
git tag <version> -m "Release"; git push --tags - Build the release
rm -rf dist build *egg-info; python setup.py sdist bdist_wheel - Upload the data
twine upload dist/*
Metadata
Release files for pivotal-django-zendesk 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pivotal_django_zendesk-1.2.0.tar.gz | 10.6 kB | Without provenance | Details for pivotal_django_zendesk-1.2.0.tar.gz |
Release files / pivotal_django_zendesk-1.2.0.tar.gz
| Download URL | pivotal_django_zendesk-1.2.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
218f82a188bcc96e9f5bb908f36e5888bb225859f440fe2681c1d3f708a8fa8a
|
|
BLAKE2b-256 checksum How to use checksums |
d5a63e5f79b1b201a84defdf249f43f7d84a5807212ec1eeefcfc74a035db01b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1
|
Security for pivotal-django-zendesk 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.