heya,

This question might seem a bit simple, but what's the best way to
instantiate models from .csv files?

Essentially, I have two .csv files. One contains a list of people, and
their access rights (one-to-many). The second .csv file contains a log
of doorway access (just a bunch of sequential lines). I have a simple
python script which imports these two .csv files, does some processing
(the files are quite messy), creates user and access-entry objects,
and produces a reconciliation with a list of exceptions (basically
door entries which aren't in the list of user/access rights). Each
user is just a dictionary, with their username as key, and a tuple of
dictionary objects for their various access rights.

I would like a simple django project to import these logs, instantiate
models, and then basically manage it via the in-built admin interface,
hopefully saving a lot of time =). (will also need to deal with
duplicates). Is there a smart way to go about doing this project, or
any existing addons I can leverage off?

Thanks,
Victor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to