On Fri, 2009-01-30 at 04:58 -0800, Orcun Avsar wrote: > im trying to run a seperate script that is on my project directory. > setup_environ seems called correctly but progmram cant import models > properly
That likely has nothing at all to do with setup_environ() -- which is only used to set up the Django settings. I suspect you just haven't set up your Python path correctly (which is the cause of about 98% of all import-related problems on this list). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---