1. 27 Ock, 2014 1 kayıt (commit)
    • Carl Meyer's avatar
      Fixed #21874 -- Require Django applications to have a filesystem path. · 88a2d391
      Carl Meyer yazdı
      Wherever possible this filesystem path is derived automatically from the app
      module's ``__path__`` and ``__file__`` attributes (this avoids any
      backwards-compatibility problems).
      
      AppConfig allows specifying an app's filesystem location explicitly, which
      overrides all autodetection based on ``__path__`` and ``__file__``. This
      permits Django to support any type of module as an app (namespace packages,
      fake modules, modules loaded by other hypothetical non-filesystem module
      loaders), as long as the app is configured with an explicit filesystem path.
      
      Thanks Aymeric for review and discussion.
      88a2d391
  2. 26 Ock, 2014 4 kayıt (commit)
  3. 25 Ock, 2014 2 kayıt (commit)
  4. 06 Ock, 2014 1 kayıt (commit)
  5. 31 Ara, 2013 2 kayıt (commit)
  6. 30 Ara, 2013 2 kayıt (commit)
  7. 29 Ara, 2013 1 kayıt (commit)
  8. 28 Ara, 2013 2 kayıt (commit)
    • Aymeric Augustin's avatar
      Changed get_model to raise an exception on errors. · ba7206cd
      Aymeric Augustin yazdı
      Returning None on errors required unpythonic error checking and was
      inconsistent with get_app_config.
      
      get_model was a private API until the previous commit, but given that it
      was certainly used in third party software, the change is explained in
      the release notes.
      
      Applied the same change to get_registered_model, which is a new private
      API introduced during the recent refactoring.
      ba7206cd
    • Aymeric Augustin's avatar
      Populated non-master app registries. · bbdf01e0
      Aymeric Augustin yazdı
      This removes the gap between the master app registry and ad-hoc app
      registries created by the migration framework, specifically in terms
      of behavior of the get_model[s] methods.
      
      This commit contains a stealth feature that I'd rather not describe.
      bbdf01e0
  9. 27 Ara, 2013 1 kayıt (commit)
  10. 26 Ara, 2013 5 kayıt (commit)
  11. 24 Ara, 2013 1 kayıt (commit)
    • Aymeric Augustin's avatar
      Renamed AppCache to Apps. · 1716b7ce
      Aymeric Augustin yazdı
      Also renamed app_cache to apps and "app cache" to "app registry".
      
      Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
      1716b7ce