Hi,

 I need to do the following thing:
- form where the user select a csv file (done)
- load a view where the file is loaded and parsed (done)

 (from now on I am having doubts of the proper solution)

- present to user a page where there are three list:
 1) data entries with errors (missing o incorrect values)
 2) data entries which exist in the DB, but with different values.
 3) data entries which doesn't exist in the DB.

 In the 2nd list there will be checkboxes for each entry, if this are
checked, then the entry is updated.
 In the 3rd list there'll be also checkboxes, but this time, checking
means create a new entry.

- after pressing the "accept" button (the user should be already tired
of pressing checkboxes) we present him a new "resume" page, where we
display two list (one with accepted operations and another with
canceled ones).

- after pressing the last "accept" we redirect the user to the initial
"load file" screen with a SUCCESS message.

One solution is generating the forms in one view's method, and in
other view a method for parsing the forms (looking for checked
checkboxes and alike). The 1,000,000 million question is how much of
this is already done in django API or if there is another approach,
like using some class of the Form family or some magic generic view.

Thanks for the help,
  I am really enjoying moving from Joomla.

 George Laskowsky Ziguilinsky

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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