Metadata-Version: 2.0
Name: django-castle
Version: 0.1.1
Summary: A django integration for the castle.io service
Home-page: https://github.com/ulmus/django-castle
Author: Jens Alm
Author-email: jens.alm@prorenata.se
License: BSD
Keywords: django-castle
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4

===============
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


