Skip to main content

Django module

Project description

BuildStatus

Small Django APP for managing Bitbucket or Github webhooks

Tested on Python 2.7 and 3.4, with Django 1.7, 1.8 and 1.9. The minimum version of Django that covers this APP is 1.7, there began the maintenance of JsonResponse

How to Install

  1. pip install django-bitbucket-hook

  2. Add django_bitbucket_hook to INSTALLED_APPS in your settings.py

  3. Run ./manage.py migrate

  4. Add url(r'^hook/', include('django_bitbucket_hook.urls'))

  5. In the admin panel you will find fields for Hook

  6. Fields

  1. Go to set up your Webhook

  2. If everything is okay you will get the following response in Webhook ({'success': True})

  3. Examples URLS

  • http[s]://domain/hook -> Gets the Hook that corresponds to the user name, and repo name

  • http[s]://domain/hook/name -> Gets the hook that fits the following name

  • http[s]://domain/hook/name/branch -> Gets the Hook which has the same name and branch of the repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-bitbucket-hook-1.2.6.tar.gz (4.2 kB view details)

Uploaded Source

Built Distributions

django_bitbucket_hook-1.2.6-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

django_bitbucket_hook-1.2.6-py2-none-any.whl (7.7 kB view details)

Uploaded Python 2

File details

Details for the file django-bitbucket-hook-1.2.6.tar.gz.

File metadata

File hashes

Hashes for django-bitbucket-hook-1.2.6.tar.gz
Algorithm Hash digest
SHA256 a8cc61eb397b362de67b31c76c8c084f1dd38b022ca2f897afb9ff03f0c8c8b7
MD5 eb341bfe053a673c64fbec85a909794f
BLAKE2b-256 ab511a4920b7dc306f6409c734a07daac50f2d6ecde72032f067a029214e731b

See more details on using hashes here.

File details

Details for the file django_bitbucket_hook-1.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for django_bitbucket_hook-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5f91d25a8fc99b38a3b1c8052024ed8461190ded3c918aae49e124458cb98d8a
MD5 dee922b61d929ec9acfaad2999a0a623
BLAKE2b-256 784e08e69a7c57d58b2e20b060cd16dda34879b954a32231fabd1482f85af1f8

See more details on using hashes here.

File details

Details for the file django_bitbucket_hook-1.2.6-py2-none-any.whl.

File metadata

File hashes

Hashes for django_bitbucket_hook-1.2.6-py2-none-any.whl
Algorithm Hash digest
SHA256 597b6d8a85bec1cacb454845b6c71d123e3033866ae6a7a4acb8da7842c92c02
MD5 caeaf8a7e08dd4c6a1d59da7f13795f0
BLAKE2b-256 853f7b20f04090ecc22b4a6aba3124f92f0cb3dd614d8b0be50b1d608fc28625

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page