Add a view to interact with sympa
Add a route to exposed immediately your app users to sympa in right format. This will synchronize users to a configured mai list.
$> 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 !
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django-sympa-0.1.1.tar.gz (3.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|