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.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: django-sympa-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-sympa-0.1.tar.gz
Algorithm Hash digest
SHA256 b8b893120e6e2e03b7590b6846671f0ceca4735a106dd22c3ad090942b0d79d9
MD5 385f207d0a042dfba4e327bdcd762dee
BLAKE2b-256 e5e37cb748ec7e23e00a91c06260654f1901539b2836a072add2295510c83c16

See more details on using hashes here.

Supported by

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