mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.6.x] Corrected an import in a model form docs example.
422f5d9a2c from master.This commit is contained in:
		| @@ -534,7 +534,7 @@ field, you could do the following:: | ||||
| If you want to specify a field's validators, you can do so by defining | ||||
| the field declaratively and setting its ``validators`` parameter:: | ||||
|  | ||||
|     from django.forms import ModelForm, DateField | ||||
|     from django.forms import ModelForm, CharField | ||||
|     from myapp.models import Article | ||||
|  | ||||
|     class ArticleForm(ModelForm): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user