Wednesday, April 27, 2011

Re: Running Django tests from Python

On 04/27/2011 04:06 PM, Kenny Meyer wrote:
> Hi Shawn,
>
> http://docs.djangoproject.com/en/dev/ref/django-admin/#running-management-commands-from-your-code
>
> Does this answer your question?
>
> Kenny

Never mind. More pdb action and I figured out that I had overwritten
DJANGO_SETTINGS_MODULE at the bash prompt I was using to try this. All
my fault. Yay.

Now it works, thanks.

Shawn


--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment