Actually that's what am doing, am saving the files with timestamp, The question is, do I create a daemon to check the dir and process new files in order, and if that's the best practice, how do I use Django environment in the daemon so I can import the models??
On Thu, Jun 9, 2011 at 1:46 PM, Shawn Milochik <sh...@milochik.com> wrote: > Here's one idea: > > When you retrieve the files from the remote server, put them in your local > temp directory named with a datestamp. > > Then, just ensure you process them in order, and you won't have to worry > about the out-of-order insertions. > > > -- > 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. > > -- 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.