Skip to main content

docs

Documentation Status

tests

CircleCI Build Status Coverage Status Scrutinizer Status

package

PyPI Package latest release PyPI Package monthly downloads PyPI Wheel

compatibility

Supported python versions Supported imlementations

A reusable Django App to manage a Kong service (https://getkong.org)

=== HOWTO ===

pip install django-kong-admin

In your Django Settings:

INSTALLED_APPS = (
    ....
    'jsonfield2',  # Used in the models - https://github.com/DarioGT/django-jsonfield2
    'django_ace',  # Used in the 'show_config' view - https://github.com/bradleyayers/django-ace
    'kong_admin'
    ....
)

# Tweak to your own needs
KONG_ADMIN_URL = 'http://localhost:8001'
KONG_ADMIN_SIMULATOR = False  # python-kong includes a simulator for testing purposes. You usually don't need that.

In your base url patterns:

urlpatterns = [
    ....
    url(r'^admin/', include(admin.site.urls)),
    ....
    # Optionally, add the following url, which is a view that displays the current kong config:
    url(r'^showconfig/', 'kong_admin.views.show_config')
    ....
]

Run default Django management commands to get things working

python manage.py migrate
python manage.py collectstatic
...

Then you can go to your Django admin site, and the Kong Admin entities will be manageable.

I plan to add more documentation in the near future! If you want to contribute to the library, be my guest!

Changelog

0.4.0 (2015-10-13)

  • Updated Kong integration library (WARNING: Not backwards compatible!)

  • Code cleanup

0.3.9 (2015-10-07)

  • Updated Kong integration library

0.3.8 (2015-10-05)

  • Updated help text in models

0.3.7 (2015-09-29)

  • Small fixes

0.3.6 (2015-09-29)

  • Fixed incorrect manifest

0.3.5 (2015-09-29)

  • Implemented validator for APIReference name field

0.3.4 (2015-09-24)

  • Fixed synchronization bug

0.3.3 (2015-09-23)

  • Now supporting ‘preserve_host’ and ‘strip_request_path’ options

0.3.2 (2015-09-23)

  • Bugfix

0.3.1 (2015-09-22)

  • Bugfix

0.3.0 (2015-09-22)

  • Update models to match python-kong 0.3.0 spec

0.2.6 (2015-09-18)

  • Bugfix

0.2.5 (2015-09-17)

  • Bugfix

0.2.4 (2015-09-17)

  • Bugfix in Plugins

0.2.3 (2015-09-17)

  • Bugfix

0.2.2 (2015-09-14)

  • Bugfix

0.2.1 (2015-09-14)

  • Bugfix

0.2.0 (2015-09-09)

  • Updated library to be compatible with Kong 0.5.x (WARNING: Not backwards compatible!)

0.1.1 (2015-08-28)

  • Bugfixes and cleanup

0.1.0 (2015-08-26)

  • First release on PyPI.

Release files for django-kong-admin 0.4.0

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-kong-admin 0.4.0
File Size Uploaded
django-kong-admin-0.4.0.tar.gz 31.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-kong-admin 0.4.0
File Interpreter ABI Platform
django_kong_admin-0.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 58.3 kB

Release files / django-kong-admin-0.4.0.tar.gz

Download URL django-kong-admin-0.4.0.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c69caad5da253f2fff92ab99af111c67715bbf014cf8daf3afbdca327dd014ea
BLAKE2b-256 checksum
How to use checksums
7189471de03a2aaa8277a0f82cf608037e9961f7f1a36a4723ec193c44c8488d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_kong_admin-0.4.0-py2.py3-none-any.whl

Download URL django_kong_admin-0.4.0-py2.py3-none-any.whl
Size 26.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
93666acd387add6e2e6d897f764bb83feb58a7e618e7319834e818067b5e1689
BLAKE2b-256 checksum
How to use checksums
70cce1ffdeeb2d7b046a3f04333b12a8950acb72dc51c84eaf9ad643d25f3a05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

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