Skip to main content

django-cgi

Run Django with CGI

Installation

To get the latest stable release from PyPi

pip install django-cgi

Install the app

INSTALLED_APPS = (
    ...,
    'django_cgi',
)

Usage

generate_cgi_handler command

python manage.py generate_cgi_handler

This will create a file called cgi_handler.py next to manage.py.

Server config

Point your server to serve the cgi_handler.py file. This is an example config for Apache:

LoadModule cgid_module lib/httpd/modules/mod_cgid.so
ScriptAlias /path "/repo/cgi_handler.py"
<Directory "/repo">
    AllowOverride None
    Options None
    Require all granted
</Directory>

Metadata

Release files for django-cgi 0.1.2

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-cgi 0.1.2
File Size Uploaded Provenance Actions
django-cgi-0.1.2.tar.gz 2.8 kB Without provenance Details for django-cgi-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-cgi 0.1.2
File Interpreter ABI Platform Actions
django_cgi-0.1.2-py3-none-any.whl Python 3 none any Details for django_cgi-0.1.2-py3-none-any.whl

Total release size: 6.1 kB

Release files / django-cgi-0.1.2.tar.gz

Download URL django-cgi-0.1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f4bd3b9b644c3b6a013d7eb90582208ff2bbeb286e0c62904033221c1df645c6
BLAKE2b-256 checksum
How to use checksums
b90cfc79e81419cfe1fa8231b17f966f137fd63f345c87bf49753d208f4505a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Darwin/18.7.0

Release files / django_cgi-0.1.2-py3-none-any.whl

Download URL django_cgi-0.1.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3675bdf5772947dd15322469da0441ad1bfff8aaa226183618676e7bb20de2c9
BLAKE2b-256 checksum
How to use checksums
88260f3096d3690b0315b1c6432bb656814449e753dab893748a036488e52dc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Darwin/18.7.0

Security for django-cgi 0.1.2

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.

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