I think this has to do with not mentioning the proper settings file. 
manage.py goes to the settings and checks all the installed apps for any 
custom commands, but if you haven't set proper settings file then it would 
not recognize those commands. You can either set the environment variable 
to DJANGO_SETTINGS_MODULE=your_settings_file 
or mention it in the command
python manage.py test --settings=YOUR_SETTINGS_FILE_NAME (dont have to 
mention .py)


On Wednesday, February 6, 2013 8:39:55 AM UTC-5, Jesús Lucas Flores wrote:
>
> Hey guys,
>
> I need a little bit help with a custom manage.py command called *test*
>
>
>  I am using it in a virtualenv on a shell script  *script.sh*,
>
> The script.sh works well out of the cron and Wihiout activate the 
> virtualenv also works well.
>
> but if the script is on the crontab give a *Unknown command: 'test'* .
>
>  Here is the code:  http://dpaste.org/hjaVi/ , 
>
> Any help ? 
>
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to