Changes between Version 1 and Version 2 of Ticket #23305


Ignore:
Timestamp:
Aug 16, 2014, 5:35:05 PM (10 years ago)
Author:
Schmitt Christian
Comment:

I've fixed your Headline and marked it as a release blocker (since I think this bug should not be in 1.7, but maybe a core could change it to the correct status.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23305

    • Property Component UncategorizedMigrations
    • Property Severity NormalRelease blocker
    • Property Summary Models that are imported on app's import time are invisible to makemessagesModels that are imported on app's import time are invisible to makemigrations
  • Ticket #23305 – Description

    v1 v2  
    1 Models that are imported in app's __init__.py, or by modules imported from that become invisible for Django if app uses apps.py and AppConfig.
     1Models that are imported in app's `__init__.py`, or by modules imported from that become invisible for Django if app uses apps.py and AppConfig.
    22
    3 To reproduce it create app with basic config and simple model in models.py. If this model is imported inside __init__.py, or other module imported in __init__.py, it will become invisible to makemigrations.
     3To reproduce it create app with basic config and simple model in models.py. If this model is imported inside `__init__.py`, or other module imported in `__init__.py`, it will become invisible to makemigrations.
    44
    55Tried this both with default_app_config as well as giving full path to AppConfig in INSTALLED_APPS.
Back to Top