<commit_before>.. Django Account Manager documentation master file, created by
   sphinx-quickstart on Mon May  3 00:03:36 2010.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Django Account Manager's documentation!
=======================================

Contents:

.. toctree::
   :maxdepth: 2

Experimental implementation of `Account Management and Session Identification <https://wiki.mozilla.org/Labs/Weave/Identity/Account_Manager/Spec/Latest


Install
-------

        pip install django-account-manager

Configuration
-------------

In your ``settings.py``::

        INSTALLED_APPS = (
            ...,
            'django.contrib.sites',
            'django.contrib.auth',
            'account_manager',
        )

        MIDDLEWARE_CLASSES = (
            ...,
            'account_manager.middleware.AccountManagerMiddleware',
        )

In you ``urls.py``::

        urlpatterns = patterns('',
            ...,
            (r'amcd/', include('account_manager.urls')),
            ...
        )

   

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`<commit_msg>more doc, Requirements, Features and added urlconf settings<commit_after>.. Django Account Manager documentation master file, created by
   sphinx-quickstart on Mon May  3 00:03:36 2010.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Django Account Manager's documentation!
=======================================

.. toctree::
   :maxdepth: 2

Experimental implementation of `Account Management and Session Identification <https://wiki.mozilla.org/Labs/Weave/Identity/Account_Manager/Spec/Latest>`_ by Mozilla Labs in `Django <http://www.djangoproject.com/>`_.

Features
--------

 * Connect
 * Disconnect
 * Handle CSRF Django protection
 * Handle sessionstatus

Requirements
------------

To get started, you'll need:
 * Django >= 1.2

Install
-------

        pip install django-account-manager

Configuration
-------------

In your ``settings.py``::

        INSTALLED_APPS = (
            ...,
            'django.contrib.sites',
            'django.contrib.auth',
            'account_manager',
        )

        MIDDLEWARE_CLASSES = (
            ...,
            'account_manager.middleware.AccountManagerMiddleware',
        )

In your ``urls.py``::

        urlpatterns = patterns('',
            ...,
            (r'amcd/', include('account_manager.urls')),
            (r'xxx/signin/', 'your.view', name='signin'),   # Needed
            (r'xxx/signout/', 'your.view', name='signout'), # Needed
            ...
        )

   

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
{'fraction_non_alphanumeric': 0.16992753623188406, 'fraction_numerical': 0.009420289855072464, 'mean_word_length': 2.3588807785888077, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7169794', 'n_tokens_mistral': 816, 'n_tokens_neox': 747, 'n_words': 192}