Skip to main content

A django integration for the service

Project description


A django integration for the service


Using the service this package allows for simple user tracking.


Install django-castle::

pip install django-castle

Then use it in a project::

1. Add the package ``django_castle`` to ``settings.INSTALLED_APPS``

2. Set the following setting variables::

CASTLE_API_KEY = "your key"
CASTLE_API_SECRET = "your secret"

3. Add the ``{% load castle %}`` template tag on the top of your templates where you want to track users

4. Add the following tags to the templates in the bottom of the head::

{% castle_load user=request.user secure=True track=True %}


* API wrapper
* Settings for API Key and Secret
* Hook for the login and logout signals
* template tags for user tracking

Cookiecutter Tools Used in Making This Package

* cookiecutter
* cookiecutter-djangopackage


0.0.1 (2015-08-28)

* First release on GitHub.

0.0.2 (2015-08-29)

* First working release on GitHub

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-castle-0.1.1.tar.gz (6.2 kB view hashes)

Uploaded source

Built Distribution

django_castle-0.1.1-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded 2 7

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