Hi, all

Previously, I create a simple TestCase which call ``syncdb`` command
in ``pre_setup`` method to create tables of
apps which is only required for testing (https://gist.github.com/
1600883).

And also, I found https://github.com/edavis/django-override-settings
which is really useful to override settings in tests thus I pulled
request to enable dynamic model creation with that
``override_settings`` (https://github.com/edavis/django-override-
settings/pull/1)

But I found that ``override_settings`` is available in dev version of
django. So I just wonder that if official django's
``override_settings`` support dynamic model creation. It is really
useful to test own fields app because most of time the fields app
required some models which have that field (and the "some models"
should not be in "INSTALLED_APPS" for using the field).

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to