GAS
Generic Administration Sistem, an alternative to django admin with a set of generic views.
Instalation
-
Install
django-gaspackage:pip install django-gas
-
Add
'gas'toINSTALLED_APPS -
Add
gasurls to project'surls.py:import gas.sites
urlpatterns = [ path('control-panel/', include(gas.sites.site.urls)), ]
-
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.
Metadata
Release files for django-gas 0.9.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 |
|---|---|---|---|---|
| django_gas-0.9.0.tar.gz | 3.3 MB | Without provenance | Details for django_gas-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_gas-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for django_gas-0.9.0-py3-none-any.whl |
Total release size: 6.7 MB
Release files / django_gas-0.9.0.tar.gz
| Download URL | django_gas-0.9.0.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59d122c6f0bb79f004da4bde3a938e5d4be51e9d5d44858fe5b1383aa88ac5c1
|
|
BLAKE2b-256 checksum How to use checksums |
6fabb1e8c12b28d75d97ca6288f208d9bef41a9c4b5b253188fc66aae6ea34e3
|
| 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.0-py3-none-any.whl
| Download URL | django_gas-0.9.0-py3-none-any.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f8bdca6c33fc6c6079af30a76f7c07466cdf6d7876099da97caddcf41d03c27
|
|
BLAKE2b-256 checksum How to use checksums |
5c7047bd63bdb292692307210d966dd6be36c111b400719fa5948f4ff707785f
|
| 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.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.