theses.views module¶
-
class
theses.views.
RequestThesisLink
(**kwargs)[source]¶ Bases:
django.views.generic.edit.CreateView
-
form_class
¶ alias of
theses.forms.RequestThesisLinkForm
-
template_name
= 'theses/request_thesislink.html'¶
-
success_url
= '/personal_page/'¶
-
dispatch
(request, *args, **kwargs)¶
-
-
class
theses.views.
UnvettedThesisLinks
(**kwargs)[source]¶ Bases:
django.views.generic.list.ListView
-
model
¶ alias of
theses.models.ThesisLink
-
template_name
= 'theses/unvetted_thesislinks.html'¶
-
context_object_name
= 'thesislinks'¶
-
dispatch
(request, *args, **kwargs)¶
-
-
class
theses.views.
VetThesisLink
(**kwargs)[source]¶ Bases:
django.views.generic.edit.UpdateView
-
model
¶ alias of
theses.models.ThesisLink
-
form_class
¶ alias of
theses.forms.VetThesisLinkForm
-
template_name
= 'theses/vet_thesislink.html'¶
-
success_url
= '/theses/unvetted_thesislinks'¶
-
dispatch
(request, *args, **kwargs)¶
-
-
class
theses.views.
ThesisListView
(**kwargs)[source]¶ Bases:
scipost.mixins.PaginationMixin
,django.views.generic.list.ListView
-
model
¶ alias of
theses.models.ThesisLink
-
form
¶ alias of
theses.forms.ThesisLinkSearchForm
-
paginate_by
= 10¶
-