Les pages (pages/)

Module situé dans zds/pages/.

Fichiers documentés :

Vues (views.py)

class zds.pages.views.AssocSubscribeView(**kwargs)
form_class

alias of zds.pages.forms.AssocSubscribeForm

form_valid(form)

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

get_success_url()

Returns the supplied success URL.

class zds.pages.views.CommentEditsHistory(**kwargs)
get_context_data(**kwargs)

Get the context for this view.

get_queryset()

Return the list of items for this view.

The return value must be an iterable and may be an instance of QuerySet in which case QuerySet specific behavior will be enabled.

model

alias of zds.utils.models.CommentEdit

class zds.pages.views.ContactView(**kwargs)

Display contact page.

model

alias of zds.pages.models.GroupContact

class zds.pages.views.EditDetail(**kwargs)
get_context_data(**kwargs)

Insert the single object into the context dict.

model

alias of zds.utils.models.CommentEdit

zds.pages.views.about(request)

Display many informations about the website.

zds.pages.views.association(request)

Display association’s presentation.

zds.pages.views.cookies(request)

Cookies explanation page.

zds.pages.views.custom_error_500(request)

Custom view for 500 errors

zds.pages.views.eula(request)

End-User Licence Agreement.

zds.pages.views.home(request)

Display the home page with last topics added.