Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
a8e2ec0e
Kaydet (Commit)
a8e2ec0e
authored
Nis 02, 2014
tarafından
Vishal Lal
Kaydeden (comit)
Tim Graham
Nis 03, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #22372 -- Improved description of WizardView.get_context_data().
Thanks simon29 for the report.
üst
d73d0e07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
views.py
django/contrib/formtools/wizard/views.py
+1
-2
form-wizard.txt
docs/ref/contrib/formtools/form-wizard.txt
+7
-2
No files found.
django/contrib/formtools/wizard/views.py
Dosyayı görüntüle @
a8e2ec0e
...
...
@@ -538,8 +538,7 @@ class WizardView(TemplateView):
context variables are:
* all extra data stored in the storage backend
* `form` - form instance of the current step
* `wizard` - the wizard instance itself
* `wizard` - a dictionary representation of the wizard instance
Example:
...
...
docs/ref/contrib/formtools/form-wizard.txt
Dosyayı görüntüle @
a8e2ec0e
...
...
@@ -401,8 +401,13 @@ Advanced ``WizardView`` methods
The default template context variables are:
* Any extra data the storage backend has stored
* ``form`` -- form instance of the current step
* ``wizard`` -- the wizard instance itself
* ``wizard`` -- a dictionary representation of the wizard instance with the
following key/values:
* ``form`` -- :class:`~django.forms.Form` or
:class:`~django.forms.formsets.BaseFormSet` instance for the current step
* ``steps`` -- A helper object to access the various steps related data
* ``management_form`` -- all the management data for the current step
Example to add extra variables for a specific step::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment