Uživatel pohledy

Definice pohledů.

class uzivatel.views.OsobaAutocomplete(**kwargs)

Třída pohledu pro získaní osob pro autocomplete.

get_queryset()

Filter the queryset with GET[‚q‘].

class uzivatel.views.UzivatelAutocomplete(**kwargs)

Třída pohledu pro získaní uživatelů pro autocomplete.

get_result_label(result)

Return the label of a result.

get_queryset()

Filter the queryset with GET[‚q‘].

class uzivatel.views.UzivatelAutocompletePublic(**kwargs)
get_result_label(result)

Return the label of a result.

get_queryset()

Filter the queryset with GET[‚q‘].

class uzivatel.views.OsobaAutocompleteChoices(**kwargs)

Třída pohledu pro získaní osob choices pro autocomplete.

get_queryset()

Filter the queryset with GET[‚q‘].

uzivatel.views.create_osoba(request)

Funkce pohledu pro vytvoření osoby.

class uzivatel.views.UserRegistrationView(**kwargs)

Třída pohledu pro registraci uživatele.

form_class

alias of AuthUserCreationForm

class uzivatel.views.UserLoginView(**kwargs)

Třída pohledu pro prihlášení uživatele.

authentication_form

alias of AuthUserLoginForm

class uzivatel.views.UserLogoutView(**kwargs)

Třída pohledu pro odhlášení uživatele, kvůli zobrazení info o logoutu

class uzivatel.views.UserAccountUpdateView(**kwargs)

Třída pohledu pro editaci uživatele.

model

alias of User

form_class

alias of AuthUserChangeForm

get_object(queryset=None)

Return the object the view is displaying.

Require self.queryset and a pk or slug argument in the URLconf. Subclasses can override this to return any object.

get_context_data(**kwargs)

Insert the form into the context dict.

post(request, *args, **kwargs)

Handle POST requests: instantiate a form instance with the passed POST variables and then check if it’s valid.

uzivatel.views.update_notifications(request)

Funkce pohledu pro editaci notifikací.

class uzivatel.views.UserActivationView(**kwargs)

Třída pohledu pro aktivaci uživatele.

activate(*args, **kwargs)

Implement account-activation logic here.

class uzivatel.views.UserPasswordResetView(**kwargs)

Třída pohledu pro resetování hesla.

form_class

alias of UserPasswordResetForm

class uzivatel.views.TokenAuthenticationBearer

Override třídy pro nastavení názvu tokenu na Bearer.

class uzivatel.views.MyXMLRenderer

Override třídy pro nastavení správnych tagů.

class uzivatel.views.GetUserInfo(**kwargs)

Třída podlehu pro získaní základních info o uživately.

class uzivatel.views.ObtainAuthTokenWithUpdate(**kwargs)