Skip to content

Kras4ooo/django-bitbucket-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-bitbucket-hook BuildStatus

Small Django APP for managing Bitbucket or Github webhooks

Tested on Python 2.7 and 3.4, with Django 1.7, 1.8, 1.9, 1.10 and 1.11. The minimum version of Django that covers this APP is 1.7, there began the maintenance of JsonResponse Note: You can use python 3.5. It not only works for Django 1.7

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages