#25313: Document how to migrate from a built-in User model to a custom User 
model
-------------------------------+------------------------------------
     Reporter:  Carl Meyer     |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  Documentation  |                  Version:  1.8
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Old description:

> So far our answer here has been "sorry, you can't do it, unless you're
> very familiar with the depths of the migrations system and willing to put
> a lot of time into it."
>
> I don't believe that this is a tenable or defensible answer. It puts too
> many of our users, too frequently, into an impossible quandary. I think
> we need to clearly document how you can do it today, even if the process
> is nasty and ugly. Hopefully seeing that nasty and ugly documentation
> might clarify what could be improved to make the process less nasty and
> ugly.

New description:

 So far our answer here has been "sorry, you can't do it, unless you're
 very familiar with the depths of the migrations system and willing to put
 a lot of time into it."



 I don't believe that this is a tenable or defensible answer. It puts too
 many of our users, too frequently, into an impossible quandary. I think we
 need to clearly document how you can do it today, even if the process is
 nasty and ugly. Hopefully seeing that nasty and ugly documentation might
 clarify what could be improved to make the process less nasty and ugly.

--

Comment (by Julien Palard):

 I tried the procedure from
 [https://code.djangoproject.com/ticket/25313#comment:18 comment 18] today
 and it worked perfectly [https://framagit.org/hackinscience/hkis-
 website/-/commit/3ec73d39af57394546a9499052fb2ebda2c3aff9 (see my
 commit)].

 P.S.: About [https://code.djangoproject.com/ticket/25313#comment:20
 comment 20] I bet the find deleted things in the venv. Maybe add a
 `-maxdepth 3`?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/25313#comment:22>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.aca6b2844e90ff44a78560f7b5e7cf83%40djangoproject.com.

Reply via email to