WebFaction
Community site: login faq

Hi,

I am trying to write some custom management commands, tried creating a testing.py then running python2.7 manage.py testing but it errors Unknown command: 'testing'. On my linux machine with django 1.3 it works fine. management/containing.init.py and commands/ containing init.py and testing.py

I have tried putting copying the management folder into myproject, myproject/myproject and myproject/appname folders. I have also confirmed the correct settings.py and manage.py are being used. and tried adding the following to the manage.py. sys.path.insert(0, "/home/ewanmd/webapps/testapp/myproject/management/commands")

django link https://docs.djangoproject.com/en/dev/howto/custom-management-commands/

Thanks, Ewan

asked 20 Jul '12, 10:09

ewanmd
122
accept rate: 0%


Submit a support ticket so we can look at the account directly. There is nothing about the platform which should cause problems with custom commands.

permanent link

answered 20 Jul '12, 17:28

johns
5.4k412
accept rate: 23%

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:

×910
×47
×9
×2

question asked: 20 Jul '12, 10:09

question was seen: 2,903 times

last updated: 20 Jul '12, 17:28

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 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