Thanks Simon and Tim,

I'd be ok with moving them into the tests in 1.10, but would give people a 
bit more time to see and respond to this discussion. Maybe until Feb 4th, 
that would be 2 weeks.

I haven't seen anybody actually using the models nor do I use them myself.

/Markus

On Thursday, January 21, 2016 at 1:38:44 PM UTC+11, Tim Graham wrote:
>
> As Simon noted in a ticket [1], "Since the introduction of contrib 
> application migrations in 1.8 (#22170 
> <https://code.djangoproject.com/ticket/22170>) the ​documented custom 
> user test models 
> <https://docs.djangoproject.com/en/1.9/topics/auth/customizing/#custom-users-and-testing-fixtures>
>  
> table are not created anymore because they are registered to the 'auth' 
> labeled application but are not part of its shipped migrations. Based on 
> the fact this was not reported before and that the only uses of 
> ExtensionUser I can find is ​either from a vendored version of Django or 
> a copy-pasta of the documentation suggested usage 
> <https://github.com/search?l=python&q=django+ExtensionUser&ref=searchresults&type=Code&utf8=%E2%9C%93>
>  
> I think we can safely assume it's not commonly used among third-party 
> application who claim to support custom user models."
>
>
> Any objection to removing those models from documentation in 1.8 and 1.9 
> and removing the models themselves in 1.10? (Actually, the models would be 
> moved into the test suite instead of shipped in 
> django/contrib/auth/tests/custom_user.py -- this is done in [2].)
>
>
> [1] https://code.djangoproject.com/ticket/26089
>
> [2] https://github.com/django/django/pull/5975
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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 https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8cb33a52-bf56-4cd1-88d3-effafe06e335%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to