1. 26 Haz, 2013 2 kayıt (commit)
  2. 25 Haz, 2013 6 kayıt (commit)
  3. 24 Haz, 2013 5 kayıt (commit)
    • Aymeric Augustin's avatar
      Fixed #20636 -- Stopped stuffing values in the settings. · 5a6f1218
      Aymeric Augustin yazdı
      In Django < 1.6, override_settings restores the settings module that was
      active when the override_settings call was executed, not when it was
      run. This can make a difference when override_settings is applied to a
      class, since it's executed when the module is imported, not when the
      test case is run.
      
      In addition, if the settings module for tests is stored alongside the
      tests themselves, importing the settings module can trigger an import
      of the tests. Since the settings module isn't fully imported yet,
      class-level override_settings statements may store a reference to an
      incorrect settings module. Eventually this will result in a crash during
      test teardown because the settings module restored by override_settings
      won't the one that was active during test setup.
      
      While Django should prevent this situation in the future by failing
      loudly in such dubious import sequences, that change won't be backported
      to 1.5 and 1.4. However, these versions received the "allowed hosts"
      patch and they're prone to "AttributeError: 'Settings' object has no
      attribute '_original_allowed_hosts'". To mitigate this regression, this
      commits stuffs _original_allowed_hosts on a random module instead of the
      settings module.
      
      This problem shouldn't occur in Django 1.6, see #20290, but this patch
      will be forward-ported for extra safety.
      
      Also tweaked backup variable names for consistency.
      
      Forward port of 02619227 from stable/1.5.x.
      
      Conflicts:
      	django/test/utils.py
      5a6f1218
    • Tim Graham's avatar
      e161e4ff
    • Baptiste Mispelon's avatar
      Fixed #20644 -- Add ModelFormMixin.fields to the CBV flattened index · 29998361
      Baptiste Mispelon yazdı
      Thanks to Tim Graham for the report and review.
      29998361
    • Baptiste Mispelon's avatar
      Fixed #20643 -- Fixed implementation of JSONResponseMixin in CBV docs · cd000dac
      Baptiste Mispelon yazdı
      Thanks to Michal Sládek for the report and initial patch,
      and to loic84 for the review.
      cd000dac
    • Simon Meers's avatar
  4. 23 Haz, 2013 1 kayıt (commit)
  5. 22 Haz, 2013 9 kayıt (commit)
  6. 21 Haz, 2013 4 kayıt (commit)
  7. 20 Haz, 2013 6 kayıt (commit)
  8. 19 Haz, 2013 7 kayıt (commit)