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.1

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.1
File Size Uploaded Provenance Actions
django_gas-0.9.1.tar.gz 3.3 MB Without provenance Details for django_gas-0.9.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.7 MB

Release files / django_gas-0.9.1.tar.gz

Download URL django_gas-0.9.1.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
701c1e7f854bc775be01e49eb5d76e9c31d8a94a9e3e9664f697381b194b89a3
BLAKE2b-256 checksum
How to use checksums
1dbe37a68bc2f512e31c366e0afb987ca88297d149b26a2432bfb26ba1ffabd2
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.1-py3-none-any.whl

Download URL django_gas-0.9.1-py3-none-any.whl
Size 3.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e6ccf0ade28d606fd675e2f962b92b3027f900f2f995faf02a548f40f0070ef7
BLAKE2b-256 checksum
How to use checksums
c37ace9c4cd3786a400d7221c4d15cd7d00a3a7af6299357986833382a596917
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.1

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