No project description provided
This is not really intended to be a generic app, so use it at your own risk.
It is an implementation of a django-registration backend with django-simple-captcha and a UserProfileBase abstract model (and his form, and his form view) that can be used as a base for user profiles.
- Django >=1.5, <1.7;
- autobreadcrumbs <2.0.0;
- django-braces >= 1.0.0, <1.8.0;
- django-registration >= 1.0, <2.0;
- django-simple-captcha >= 0.4.1, <0.4.7;
- django-crispy-forms >= 1.1.x;
pip install sveeaccounts
In your settings file add the app to your installed apps :
INSTALLED_APPS = ( 'registration', 'captcha' 'sveeaccounts', ... )
Then you have to mount its urls map in your webapp urls. It is recommended to add them before ‘django.contrib.auth’.
If you have installed django-crispy-forms you can specify your own form helper for registration and login forms. To do this you will have to specify the full Python path to your helper methods to use.
In your settings you can add the following variables, all of them are optionnal :
- REGISTRATION_FORM_HELPER for the registration form;
- REGISTRATION_LOGIN_HELPER for the login form;
- REGISTRATION_USERPROFILE_HELPER for the userprofile edit form;
- REGISTRATION_PASSWORD_RESET_HELPER for the password reset form (where it asks your email);
- REGISTRATION_PASSWORD_RESET_CHANGE_HELPER for the password change form (where it asks you for a new password);
- REGISTRATION_BLOCKED if True the registration form is blocked, users can’t register but still can log in, default is False.
- PASSWORD_RESET_BLOCKED if True the password reset views will be disabled, default is False.
- USER_PROFILE_BLOCKED if True the user profile form will be disabled, default is False.
The methods which these Python path point just have to return the helper you did, see the sveeaccounts.crispies code for samples.
- Drop uidb36 in favor of uidb64 (support for django 1.6+);
- Fixed requirements versions;
- Drop version support for Django < 1.5 and django-registration < 1.0;
- Some changes in default templates to use Foundation5 column names;
- Add a menu.html for a full sample menu in default templates;
- Update french translation catalog (PO file);
Release history Release notifications | RSS feed
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 sveeaccounts-0.5.0.tar.gz (8.8 kB)||File type Source||Python version None||Upload date||Hashes View|