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 hashes)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

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