Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for django-castle, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_castle-0.1.1-py2.py3-none-any.whl (6.1 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size django-castle-0.1.1.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page