A django integration for the castle.io service
Project description
===============
django-castle
===============
A django integration for the castle.io service
Documentation
-------------
Using the http://castle.io service this package allows for simple user tracking.
Quickstart
----------
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 %}
Features
--------
* 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
History
-------
0.0.1 (2015-08-28)
++++++++++++++++++
* First release on GitHub.
0.0.2 (2015-08-29)
++++++++++++++++++
* First working release on GitHub
django-castle
===============
A django integration for the castle.io service
Documentation
-------------
Using the http://castle.io service this package allows for simple user tracking.
Quickstart
----------
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 %}
Features
--------
* 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
History
-------
0.0.1 (2015-08-28)
++++++++++++++++++
* First release on GitHub.
0.0.2 (2015-08-29)
++++++++++++++++++
* First working release on GitHub
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.
Source Distribution
django-castle-0.1.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for django_castle-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81aeafb83b84800c0554360ef2f7546cfa97d3af8019f502700db1b8de0b6b7d |
|
MD5 | 41fe0b8835bed97209d32818d8aff494 |
|
BLAKE2b-256 | 303c0a9e59b0e7cf9c2643937cc19f1c9fb588ceee5c691349f9db8d68a62867 |