Josh,

Many thanks for the very helpful code example!  Using such a variation (as 
opposed to direct SQL) does appear cleaner and more in keeping with Django.

My apologies for the newcomer question, but -- per these links:

https://docs.djangoproject.com/en/1.7/ref/django-admin/
https://docs.djangoproject.com/en/1.7/topics/testing/tools/

... am I correct in understanding that Django orm scripts of the style you 
illustrate/describe may typically be accessed with a call like:

python /usr/lib/python2.7/site-packages/django/bin/django-admin.py shell 
--plain --settings=./mysite.settings

followed by code that begins with:

from django.test import Client

Warmly appreciated!

Brygg 

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to