Auth Views

Source is located in the views, which we’ll describe here.

Crudlfa+ PasswordView, Become and BecomeUser views.

Crudlfa+ takes views further than Django and are expected to:

  • generate their URL definitions and reversions,
  • check if a user has permission for an object,
  • declare the names of the navigation menus they belong to.
class crudlfap_auth.views.Become(**kwargs)[source]
class crudlfap_auth.views.BecomeUser(**kwargs)[source]
get_object(queryset=None)[source]

Return router.get_object() by default, otherwise super().

get_title_menu()[source]

Return title for menu links to this view.

class crudlfap_auth.views.PasswordView(**kwargs)[source]
get_form_class()[source]

Return the form class to use in this view.

get_form_kwargs()[source]

Return the keyword arguments for instantiating the form.