On 31 Ocak, 03:09, Malcolm Tredinnick <malc...@pointy-stick.com> wrote:
> 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 i checked my python path and added two path. 1)DIR=os.path.abspath(__file__) sys.path.append(os.path.split(os.path.split(DIR)[0])[0]) thats the folder that contains my project folder. (Desktop) 2)sys.path.append(imp.find_module("django")[1]) django lib (site_packages/django) here is my python path now... ['C:\\Documents and Settings\\orcun\\Desktop\\indir', 'C:\\WINDOWS\ \system32\\py thon25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\ \lib\\plat -win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\ \site-pac kages', 'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\ \site-packag es\\django', 'C:\\Documents and Settings\\orcun\\Desktop'] python path isn't seemed to be the problem. what can be made different when i run manage.py/shell ? it works correct on shell. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---