1. 31 Agu, 2015 1 kayıt (commit)
  2. 29 Agu, 2015 6 kayıt (commit)
    • Aymeric Augustin's avatar
      Made the autoreloader survive all exceptions. · b79fc11d
      Aymeric Augustin yazdı
      Refs #24704.
      b79fc11d
    • Aymeric Augustin's avatar
      Fixed #24704 -- Made the autoreloader survive SyntaxErrors. · fe6ddb83
      Aymeric Augustin yazdı
      With this change, it's expected to survive anything except errors
      that make it impossible to import the settings. It's too complex
      to fallback to a sensible behavior with a broken settings module.
      
      Harcoding things about runserver in ManagementUtility.execute is
      atrocious but it's the only way out of the chicken'n'egg problem:
      the current implementation of the autoreloader primarily watches
      imported Python modules -- and then a few other things that were
      bolted on top of this design -- but we want it to kick in even if
      the project contains import-time errors and django.setup() fails.
      
      At some point we should throw away this code and replace it by an
      off-the-shelf autoreloader that watches the working directory and
      re-runs `django-admin runserver` whenever something changes.
      fe6ddb83
    • Aymeric Augustin's avatar
      Ensured gen_filenames() yields native strings. · c2fcba2a
      Aymeric Augustin yazdı
      This also fixes a test failure on Python 2 when Django is installed in a
      non-ASCII path. This problem cannot happen on Python 3.
      c2fcba2a
    • Aymeric Augustin's avatar
      Refactored autoreload tests. · dfa712ef
      Aymeric Augustin yazdı
      * Added helpers to test uncached and cached access.
      * Fixed test_project_root_locale: it duplicated test_locale_paths_setting.
      * Rewrote test_only_new_files: test more cases.
      dfa712ef
    • Aymeric Augustin's avatar
      Accounted for error files in the autoreloader. · 23620cb8
      Aymeric Augustin yazdı
      * When some old files contain errors, the second call to
        gen_filenames() should return them.
      * When some new files contain errors, the first call to
        gen_filenames(only_new=True) should return them.
      23620cb8
    • Y3K's avatar
  3. 28 Agu, 2015 6 kayıt (commit)
  4. 27 Agu, 2015 7 kayıt (commit)
  5. 26 Agu, 2015 4 kayıt (commit)
  6. 25 Agu, 2015 4 kayıt (commit)
  7. 24 Agu, 2015 3 kayıt (commit)
  8. 22 Agu, 2015 4 kayıt (commit)
  9. 21 Agu, 2015 2 kayıt (commit)
  10. 20 Agu, 2015 3 kayıt (commit)