User management

class login.views.ActivationNoteView(**kwargs)[source]
form_class

alias of ChangeEmailForm

form_valid(form)[source]

If the form is valid, redirect to the supplied URL.

class login.views.CreateUserView(**kwargs)[source]
class login.views.DetachView(**kwargs)[source]
class login.views.EditUserView(**kwargs)[source]
class login.views.GroupCreate(**kwargs)[source]
get(request, group_id=None)[source]

Load the chosen action(create or edit) for a group. :param request: A HTTP-request object sent by the Django framework. :param user_id: An user id :param user_id: An group id :return: Profile renderer

post(request, group_id=None)[source]

Performs selected action(save or delete) for a group. If a groupname already exists, then a error will be output. The selected users become members of this group. The groupadmin is already set. :param request: A HTTP-request object sent by the Django framework. :param user_id: An user id :param user_id: An group id :return: Profile renderer

class login.views.GroupEdit(**kwargs)[source]
get(request, group_id)[source]

Load the chosen action(create or edit) for a group. :param request: A HTTP-request object sent by the Django framework. :param user_id: An user id :param user_id: An group id :return: Profile renderer

post(request, group_id)[source]

Performs selected action(save or delete) for a group. If a groupname already exists, then a error will be output. The selected users become members of this group. The groupadmin is already set. :param request: A HTTP-request object sent by the Django framework. :param user_id: An user id :param user_id: An group id :return: Profile renderer

class login.views.GroupManagement(**kwargs)[source]
get(request)[source]

Load and list the available groups by groupadmin. :param request: A HTTP-request object sent by the Django framework. :param user_id: An user id :return: Profile renderer

class login.views.GroupView(**kwargs)[source]
get(request, group_id)[source]

Load the chosen action(create or edit) for a group. :param request: A HTTP-request object sent by the Django framework. :param user_id: An user id :param user_id: An group id :return: Profile renderer

class login.views.OEPPasswordChangeView(**kwargs)[source]
class login.views.ProfileUpdateView(**kwargs)[source]

Autogenerate a update form for users.

model

alias of myuser

class login.views.ProfileView(**kwargs)[source]
get(request, user_id)[source]
Load the user identified by user_id and is OAuth-token.

If latter does not exist yet, create one.

Parameters
  • request – A HTTP-request object sent by the Django framework.

  • user_id – An user id

Returns

Profile renderer