#23305: Models that are imported on app's import time are invisible to
makemigrations
---------------------------------+--------------------------------------
     Reporter:  rafalp           |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Migrations       |                  Version:  1.7-rc-2
     Severity:  Release blocker  |               Resolution:  invalid
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by rafalp):

 After creating custom project from scratch I can say that this indeed
 works. However I've created test case closer to what I'm experiencing and
 I've that it all boils down to presence to custom label attribute in
 AppConfig. As soon as that attribute is set to anything but default, model
 vanishes from makemigrations sight.

 Here's source:
 https://github.com/rafalp/Django-23305

 So I'm in doubt now. Am I using labels wrong, or there's bug somewhere?

 Either way thanks for attention and time!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23305#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/064.ab5025be57f47b6c9201dcaefaaaa931%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to