Skip to main content

Utilities for use with the django web framework

Project description


Tools for use within the django framework

djutils provides tools for common actions within the django framework.

It includes tools for:

  • Administration interface
  • Cryptographics
  • Database interaction
  • Exceptions
  • HTTP Handling
  • IP-Address handling
  • Mixins for Classes


Use the python package manager pip to install djutils.

pip install djutils


Just an example how you could use the exceptions_to_http decorator. Each method defined in djutils has a small documentation with it.

from djutils import http, exceptions

def my_route(request):
    if request.POST:
        raise exceptions.Error("POST is not allowed", code="no_post", status_code=403)

    return "Hello World"




This package is maintained by Manuel Stingl.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djutils-1.0.20.tar.gz (20.1 kB view hashes)

Uploaded source

Built Distribution

djutils-1.0.20-py3-none-any.whl (23.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page