django_pipedrive is a simple Django app to post data to the Pipedrive service and keep track of its online data. The app listens for the Pipedrive webhooks for every event as for version 1 of the API.
- Add "django_pipedrive" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = ( ... 'django_pipedrive', )
- Configure the variable "PIPEDRIVE_API_KEY" in settings like this::
- Include the django_pipedrive URLconf in your project urls.py like this::
python manage.py migrateto create the django_pipedrive models.
Start the development server and visit http://127.0.0.1:8000/django_pipedrive/ to verify that the server is listening for webhooks (you'll just read a Hello World, but that is enough to check that the server is working).
Register the url as a webhook at https://yourdomain.pipedrive.com/webhooks
All models have field called 'external_id' which is the corresponding 'id' at Pipedrive.
The app has been tested with Django1.8 and Postgres 9.5.6
As for the first version of the app, it requires the extension HStore of postgres to deal with Pipedrive's custom fields