djangofloor.functions

Module with all default DjangoFloor WS functions

For all app in settings.INSTALLED_APPS, DjangoFloor tries to import app.functions for auto-discovering WS functions. If you want to write your WS functions into other modules, be sure that app.functions imports these modules.

djangofloor.functions.renew_csrf(window_info)[source]
djangofloor.functions.validate_set_password_form(window_info, data=None)[source]

Dynamically validate the SetPasswordForm (for self-modifying its password) class.

$.dfws.df.validate.set_password({data: $(this).serializeArray()}).then(function (r) {console.log(r); })