mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	git-svn-id: http://code.djangoproject.com/svn/django/trunk@10316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django import forms
 | 
						|
from django.contrib.formtools.wizard import FormWizard
 | 
						|
from django.http import HttpResponse
 | 
						|
 | 
						|
class Page1(forms.Form):
 | 
						|
    name = forms.CharField(max_length=100)
 | 
						|
    thirsty = forms.NullBooleanField()
 | 
						|
 | 
						|
class Page2(forms.Form):
 | 
						|
    address1 = forms.CharField(max_length=100)
 | 
						|
    address2 = forms.CharField(max_length=100)
 | 
						|
    
 | 
						|
class Page3(forms.Form):
 | 
						|
    random_crap = forms.CharField(max_length=100)
 | 
						|
    
 | 
						|
class ContactWizard(FormWizard):
 | 
						|
    def done(self, request, form_list):
 | 
						|
        return HttpResponse("")
 |