Hi!
I tried to import the data from csv file to database.
I refer below link
https://groups.google.com/forum/#!msg/django-users/usjC-X9-p5E/94bf4tw3Ni8J

I have create the models and view same like above link. 
I have create the "import" buttom on admin side by changing  
"app/change_list" html. On the "import" onclick method i call the my import 
view. But it gives me error as 
'DataInput' object has no attribute 'cleaned_data' And form.is_valid() 
always return false.

Thanks,
Meenakshi

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/1xOECDxAZMUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to