On Sep 26, 2013, at 2:17 AM, Rocky Meza <rockym...@gmail.com> wrote:

> This is a problem that we ran into with authtools, what we ended up doing was 
> just running the tests 3 times[1].  I don't think this is a realistic 
> approach within Django core though.  One of the main problems with this is 
> that you use get_user_model at the root level of the forms module, so the 
> Form will be declared against only one model--I don't know what you can do 
> though.  Having email_auth as a separate app would probably clear up this 
> problem for the tests, but if that happens then we would just have to 
> concrete specific sets of forms, instead of more generic Forms, which was the 
> whole idea.  The only situation where you should be switching settings around 
> is in tests, so I do think it is a little unfair to compromise the generic 
> nature of the forms just to appease the tests.

To be fair, several people are pretty convinced that there should be concrete 
sets of forms in another app for other reasons. :-) It's far from decided that 
generic == better.

L

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to