Skip to main content

GAS

DRF support for django-gas.

Helps working with an API restricted to gas roles.

Instalation

  1. Install django-gas-drf package:

    pip install django-gas-drf

  2. Add gas-drf urls to project's urls.py:

    import gas_drf.sites

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

Integration

Create a submodule gas.drf_config in your django app.

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

Edit this drf_config.py file to register your code into gas-drf. For examples look at drf_gas.gas.users_drf_config module.

Gas DRF comes with basic user management. To enable this import gas_drf.gas.users_drf_config from any gas.drf_config of your installed apps.

Licenses

The license of the code is GPLv3.

Changelog

0.1.1

  • Minor bugfixes

0.1

Initial relase.

Metadata

Release files for django-gas-drf 0.1.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-drf 0.1.1
File Size Uploaded
django-gas-drf-0.1.1.tar.gz 17.2 kB Details

Release files / django-gas-drf-0.1.1.tar.gz

Download URL django-gas-drf-0.1.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8aa92c1944ea3366a21f4b1768503e921ba6edf84215266803ded6ce82de040f
BLAKE2b-256 checksum
How to use checksums
a92385e9d2f45e9b2a114fa92dc3416b8292b9f8465ae96a9b5525f2e4a5ed3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1

1 release file

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