Skip to main content

Django app for working with ConnectWise. Defines models (tickets, members, companies, etc.) and callbacks.

Project description


Django app for working with ConnectWise. Defines models (tickets, members, companies, etc.) and callbacks.


  • Python 3.5
  • Django 2.0

Other versions may work; we haven't tried.


From PyPI:

pip install django-connectwise

From source:

git clone
cd django-connectwise
python install



  2. Add to

        r'^callback/',  # This can be whatever you want.
        include('djconnectwise.urls', namespace='connectwise')
  3. Add to settings:

        'company_id': 'your company ID',
        'api_public_key': 'your API user public key',
        'api_private_key': 'your API user private key',
    CONNECTWISE_TICKET_PATH = 'v4_6_release/services/system_io/router/openrecord.rails'
    def djconnectwise_configuration():
        return {
            'timeout': 30.0,  # Network timeout in seconds
            'batch_size': 50,  # Number of records to fetch in each request
            'max_attempts': 3,  # Number of times to make a request before failing
            'callback_url': '{}?id='.format(
            'callback_host': '{}://{}'.format(
                'http' if DEBUG else 'https',
    DJCONNECTWISE_CONF_CALLABLE = djconnectwise_configuration

    For ConnectWise Cloud users, CONNECTWISE_SERVER_URL can be just i.e. the library changes to the api-region domain automatically.

    The DJCONNECTWISE_CONF_CALLABLE function should return a dictionary with the fields shown above. It's a callable so that it can fetch settings at runtime- for example from Constance settings.

  4. Sync objects with this management command: cwsync. This will take a very long time if there are many objects to fetch.

  5. Register your callbacks with the management command: callbacks_registered

  6. Use standard Django model signals to see when objects change.

  7. To control how user avatar thumbnails are stored, add settings from easy-thumbnails.

To de-register your callbacks, use the callbacks_deleted management command.


Prepare your environment:

pip install --upgrade -r requirements_test.txt

Try one of:

python test
make test


  • Fork this repo

  • Make a branch

  • Make your improvements

    Making migrations? Run:

  • Run the tests (see above)

  • Make a pull request




© 2017 Kerkhoff Technologies Inc.

Project details

Release history Release notifications | RSS feed

Download files

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

Files for django-connectwise, version 0.3.180
Filename, size File type Python version Upload date Hashes
Filename, size django-connectwise-0.3.180.tar.gz (295.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page