django-sympa

Add a view to interact with sympa


Keywords
django, Université, de, Strasbourg, sympa, mail, users
License
Python-2.0
Install
pip install django-sympa==0.1.1

Documentation

Django-sympa

Code Health https://secure.travis-ci.org/unistra/django-sympa.png?branch=master https://coveralls.io/repos/unistra/django-sympa/badge.png?branch=master

Add a route to exposed immediately your app users to sympa in right format. This will synchronize users to a configured mai list.

Install

With pip

$> pip install django-sympa

In your django project, be sure that the auth application is installed :

# settings.py
INSTALLED_APPS = (
    ...,
    'django.contrib.auth',
    ...
)

Add the sympa application to your project. INSTALLED_APPS looks like :

# settings.py
INSTALLED_APPS = (
    ...,
    'django.contrib.auth',
    ...,
    'sympa'
)

Add a route to your base urls configuration :

# urls.py

urlpatterns = (
    ...
    url('^users.sympa$', 'sympa.views.users', name='sympa_users'),
    ...
)

That's it !