WebFaction
Community site: login faq

Hi I am running a script to populate one of my database tables (it runs ok in development). I get an error message 'No module named django.db' I have tried appending the following 3 items to my sys.path to no avail

home/orotau/webapps/django/lib/python2.7/django
home/orotau/webapps/django/lib/python2.7/
~/webapps/django/lib/python2.7

Can you help please? TIA Graham

asked 05 Sep '11, 23:27

orotau
123
accept rate: 0%

edited 05 Sep '11, 23:27


We would need to see the script and a full trackback to have the context needed to debug. Is it possible to provide that here? If not you may submit a support ticket and we can take a look.

permanent link

answered 05 Sep '11, 23:39

johns
5.3k312
accept rate: 23%

Thanks my friend. I just decided to take advantage of the fact I am using slite and just copy across the whole database. I have submitted one ticket about something else....

Cheers Graham

permanent link

answered 05 Sep '11, 23:55

orotau
123
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×908
×337
×15

question asked: 05 Sep '11, 23:27

question was seen: 4,513 times

last updated: 05 Sep '11, 23:55

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM