Skip to main content

Add a view to interact with sympa

Project description

Code Health https://secure.travis-ci.org/unistra/django-sympa.png?branch=master https://coveralls.io/repos/unistra/django-sympa/badge.png?branch=master https://img.shields.io/pypi/v/django-sympa.svg https://img.shields.io/pypi/dm/django-sympa.svg

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 !

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-sympa-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-sympa-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-sympa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 523e558dd8845adadc2d87dbc026eb530d03eb2cfe0c058dafb521c6d7517def
MD5 7650eedc09bb270c60813cac4720ae33
BLAKE2b-256 524bcf57dc462e9bf1417180fc742a2810a6df00e0da2bf8b4c0a7a3cba2a657

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page