This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Tim.Graham
Recipients Aaron.Meurer, BreamoreBoy, Tim.Graham, amaury.forgeotdarc, anacrolix, asvetlov, brechtm, eric.snow, ezio.melotti, giampaolo.rodola, jcea, josh.r, kachayev, kmike, meador.inge, pitrou, poke, python-dev, rhettinger, scoder, serhiy.storchaka
Date 2015-06-06.20:30:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433622652.04.0.374484147221.issue14373@psf.upfronthosting.co.za>
In-reply-to
Content
This changed caused a problem in Django's test suite (bisected to 0d0989359bbb0).

  File "/home/tim/code/django/django/db/models/options.py", line 709, in _populate_directed_relation_graph
    all_models = self.apps.get_models(include_auto_created=True)
TypeError: get_models() missing 1 required positional argument: 'self'

The get_models() method is decorated with @lru_cache.lru_cache(maxsize=None)

https://github.com/django/django/blob/c2b4967e76fd671e6199e4dd54d2a2c1f096b8eb/django/apps/registry.py#L157-L179
History
Date User Action Args
2015-06-06 20:30:52Tim.Grahamsetrecipients: + Tim.Graham, rhettinger, jcea, amaury.forgeotdarc, pitrou, scoder, giampaolo.rodola, ezio.melotti, asvetlov, poke, meador.inge, anacrolix, Aaron.Meurer, BreamoreBoy, python-dev, eric.snow, serhiy.storchaka, brechtm, kmike, kachayev, josh.r
2015-06-06 20:30:52Tim.Grahamsetmessageid: <1433622652.04.0.374484147221.issue14373@psf.upfronthosting.co.za>
2015-06-06 20:30:52Tim.Grahamlinkissue14373 messages
2015-06-06 20:30:51Tim.Grahamcreate