forked from DGNum/gestioCOF
b42452080f
AccountBackend - Should now work if used in AUTHENTICATION_BACKENDS settings. - It does not retieve itself the password, as it should not be used this way. GenericBackend - Delete useless 'username' arg of its 'authenticate()' method. - Now delete the token in DB. TemporaryAuthMiddleware - New name of the middleware is more meaningful. - Is now responsible to retrieve the password from the request, instead of the AccountBackend. GenericTeamToken model - Add a manager' method to create token, avoiding possible error due to unicity constraint. GenericLoginView (authentication with the kfet generic user) - Replace obscure system with a 100% HTTP handling. - See comments for more information. Misc - More docstrings! - More tests! - Add some i18n. - Add kfet/confirm_form.html template: Ask user to confirm sth via a form (which will send a POST request). Context variables: * title: the page title * confirm_url: action attribute for <form> * text: displayed confirmation text - kfet.js : Add functions allowing to emit POST request from <a> tag. - Non-link nav items from kfet navbar also get a 'title'. - A utility has been found for the 'sunglasses' glyphicon! |
||
---|---|---|
.. | ||
account.html | ||
account_create.html | ||
account_create_autocomplete.html | ||
account_create_form.html | ||
account_create_special.html | ||
account_group.html | ||
account_group_form.html | ||
account_negative.html | ||
account_read.html | ||
account_search_autocomplete.html | ||
account_update.html | ||
article.html | ||
article_create.html | ||
article_inventories_snippet.html | ||
article_read.html | ||
article_suppliers_snippet.html | ||
article_update.html | ||
base.html | ||
base_col_1.html | ||
base_col_2.html | ||
base_col_mult.html | ||
base_footer.html | ||
base_form.html | ||
base_messages.html | ||
base_nav.html | ||
category.html | ||
category_update.html | ||
checkout.html | ||
checkout_create.html | ||
checkout_read.html | ||
checkout_update.html | ||
checkoutstatement.html | ||
checkoutstatement_create.html | ||
checkoutstatement_update.html | ||
confirm_form.html | ||
form_authentication_snippet.html | ||
form_field_snippet.html | ||
form_full_snippet.html | ||
form_snippet.html | ||
form_submit_snippet.html | ||
history.html | ||
home.html | ||
inventory.html | ||
inventory_create.html | ||
inventory_read.html | ||
kpsul.html | ||
left_account.html | ||
left_checkout.html | ||
nav_item.html | ||
order.html | ||
order_create.html | ||
order_read.html | ||
order_to_inventory.html | ||
settings.html | ||
settings_update.html | ||
supplier_form.html | ||
transfers.html | ||
transfers_create.html |