#23366: Workaround for `ValueError: Dependency on app with no migrations` in 
#22848
may need attention
----------------------------+------------------------------------
     Reporter:  stevejalim  |                    Owner:  nobody
         Type:  Bug         |                   Status:  new
    Component:  Migrations  |                  Version:  1.7-rc-3
     Severity:  Normal      |               Resolution:
     Keywords:              |             Triage Stage:  Accepted
    Has patch:  0           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  1           |                    UI/UX:  0
----------------------------+------------------------------------

Comment (by lukas-schulze):

 In a standalone project you can easily reproduce it with an
 AbstractBaseUser:

 {{{
 class MyUser(AbstractBaseUser):
     email = models.EmailField('E-Mail', unique=True)

     USERNAME_FIELD = 'email'
 }}}

 Add to your setting.py {{{AUTH_USER_MODEL = 'accounts.MyUser'}}} and now
 run
  $ ./manage.py migrate --list

--
Ticket URL: <https://code.djangoproject.com/ticket/23366#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.0592401cbef82484a316a80c4cd0b4aa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to