Skip to main content

GAS

Generic Administration Sistem, an alternative to django admin with a set of generic views.

Instalation

  1. Install django-gas package:

    pip install django-gas

  2. Add 'gas' to INSTALLED_APPS

  3. Add gas urls to project's urls.py:

    import gas.sites

    urlpatterns = [ path('control-panel/', include(gas.sites.site.urls)), ]

  4. Run python manage.py migrate

Configuration

Project settings can customize the gas control panel:

  • GAS_TITLE: Name of the control panel.
  • GAS_LOGO: Icon for the control panel.
  • GAS_MEDIA: A django form's Media like dict with css and js files. Overrides default css and javascript.
  • GAS_EXTRA_MEDIA: A django form's Media like dict with css and js files. Extends current css and javascript instead of overriding.

The default values of those settings can be viewed in the gas/gas_settings.py file.

Integration

Create a submodule gas.config in your django app.

    -\ yourapp
        \gas
            __init__.py
            config.py
        admin.py
        models.py
        ...

Edit this config.py file to register your code into gas. For examples look at gas.gas.config and gas.gas.users modules.

Gas comes with a basic user management. To enable this section, import gas.gas.users_config from any gas.config of your installed apps.

To enable the urls but keep the section out of the menu, just add this to your gas.config:

site.register_urls('users', 'gas.gas.users.urls')

Licenses

The license of the code is GPLv3, but in the gas/static/vendor folder there is some external code with different licenses.

Collaborators

  • Shakarina
  • Leo Hakim

Metadata

Release files for django-gas 0.9.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-gas 0.9.2
File Size Uploaded Provenance Actions
django_gas-0.9.2.tar.gz 3.3 MB Without provenance Details for django_gas-0.9.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-gas 0.9.2
File Interpreter ABI Platform Actions
django_gas-0.9.2-py3-none-any.whl Python 3 none any Details for django_gas-0.9.2-py3-none-any.whl

Total release size: 6.7 MB

Release files / django_gas-0.9.2.tar.gz

Download URL django_gas-0.9.2.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
79c887fb4d1432c96f284c8427bd88a61269894b2bf740a46dde54a7d5a802e5
BLAKE2b-256 checksum
How to use checksums
14bd740494266ee768ce1bdf1c6383acbbc9aa5fd35e4dd8eb9a7aafed310324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / django_gas-0.9.2-py3-none-any.whl

Download URL django_gas-0.9.2-py3-none-any.whl
Size 3.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8e0db273dc35e870a7fd2170da4dc3f082cce8c9a4f25c5c7046801535280db7
BLAKE2b-256 checksum
How to use checksums
9d79a3813c9d855c9892a154123acd5339d94135d059f4fa5b103212b8163860
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for django-gas 0.9.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