The blazar_dashboard.content.leases.views ModuleΒΆ

class blazar_dashboard.content.leases.views.CreateView(*args, **kwargs)[source]

Bases: horizon.forms.views.ModalFormView

form_class

alias of CreateForm

modal_header = u'Create Lease'
modal_id = 'create_lease_modal'
submit_label = u'Create Lease'
submit_url = u'/project/leases/create/'
success_url = u'/project/leases/'
template_name = 'project/leases/create.html'
class blazar_dashboard.content.leases.views.DetailView[source]

Bases: horizon.tabs.views.TabView

tab_group_class

alias of LeaseDetailTabs

template_name = 'project/leases/detail.html'
class blazar_dashboard.content.leases.views.IndexView(*args, **kwargs)[source]

Bases: horizon.tables.views.DataTableView

get_data()[source]
table_class

alias of LeasesTable

template_name = 'project/leases/index.html'
class blazar_dashboard.content.leases.views.UpdateView(*args, **kwargs)[source]

Bases: horizon.forms.views.ModalFormView

form_class

alias of UpdateForm

get_context_data(**kwargs)[source]
get_initial()[source]
get_object(*args, **kwargs)[source]
success_url = u'/project/leases/'
template_name = 'project/leases/update.html'