On Wed, Jun 3, 2009 at 10:14 AM, Juan Hernandez <vladjani...@gmail.com>wrote:
> Hey there people: > > I started developing a django application where a user takes a big text > file and loads it into a database. I have been able to do pretty much > everything but I've been having some problems on scheduling tasks involving > the django ORM. > > I know that python manage.py shell loads the python prompt with the > necessary environment settings for me to work with the shell but, what if I > wanted to let's say, schedule a text file to be loaded every night using the > django orm along with all the other python features? how can I set a script > or what settings do I have so set in order to easily use the ORM > automatically for me to be able to work with those files over the web > interface later?? in other words, what settings are loded everytime I > execute python manage.py shell? > > Thanks a lot > jhv > > > > Take a look at this: http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/ which explains a few different ways you can get everything setup to have a standalone script use django. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---