1. 26 4月, 2021 1 次提交
  2. 23 4月, 2021 1 次提交
  3. 20 4月, 2021 1 次提交
  4. 17 4月, 2021 4 次提交
    • A
      Use tox-py in CI (#7925) · 010c8d4f
      Adam Johnson 提交于
      010c8d4f
    • A
      Fix pytest warnings (#7928) · 67b5093c
      Adam Johnson 提交于
      * Use `--strict-markers` instead of `--strict`, as per this warning:
      
        ```
        /.../_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.
        ```
      
      * Remove config option 'testspath' - pytest is logging a warning about this being unknown:
      
        ```
        /.../_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: testspath
        ```
      
        I can't find any reference to it in the pytest docs or changelog.
      67b5093c
    • T
      Fix tests with mock timezone (#7911) · a0a2c5cb
      Terence Honles 提交于
      After django/django#13877, Django no longer checks for `hasattr(timezone, 'localize')` and instead does an inheritance check.
      a0a2c5cb
    • A
      Fix GitHub Actions to run on 'master' branch (#7926) · f628db38
      Adam Johnson 提交于
      The config I copied in #7903 was from a repo with the new name 'main', so tests have not been running on master since.
      f628db38
  5. 12 4月, 2021 2 次提交
  6. 07 4月, 2021 2 次提交
  7. 06 4月, 2021 1 次提交
    • A
      Remove link to third party cookiecutter template (#7902) · 37ef62b0
      Adam Johnson 提交于
      The template has not been maintained for six years, so it's out of date on versions and various "best practices" (e.g. pre-commit). I also think any template should be documented on its own repo rather than here, especially if it's not an official maintained project.
      37ef62b0
  8. 05 4月, 2021 3 次提交
  9. 01 4月, 2021 3 次提交
  10. 26 3月, 2021 3 次提交
  11. 25 3月, 2021 3 次提交
  12. 22 3月, 2021 2 次提交
  13. 21 3月, 2021 1 次提交
  14. 19 3月, 2021 1 次提交
  15. 17 3月, 2021 3 次提交
  16. 16 3月, 2021 4 次提交
    • Y
      No need to explictitly set None as default (#7373) · a40bce50
      Yuekui 提交于
      a40bce50
    • J
      made Browsable API base template cachable: omit CSRF token when unnecessary (#7717) · 9c9ffb18
      Jesse London 提交于
      HTML responses generated by the Browsable API otherwise generate
      inconsistent ETAGs -- due to the presence of CSRF tokens in the response
      -- even when the API is read-only, (and as such when the response
      contains no resource-modifying forms, i.e. neither POST nor PUT forms,
      which might require the CSRF token).
      
      While the template was appropriately including CSRF tokens only within
      POST and PUT forms, its AJAX overlay included the CSRF token in *every*
      response, regardless of whether it would be needed.
      
      This change brings the logic of the `script` block into line with that
      of the rest of the template -- and such that read-only APIs (and really
      the Browsable API pages of *any* read-only resources) will not
      needlessly include the CSRF token, and will now be safely cachable -- by
      both back-end systems and by the user agent.
      9c9ffb18
    • J
      Correct the use of "to" (#7696) · b0ca248d
      Jeff Baumes 提交于
      b0ca248d
    • Ö
      Ordering filter bug with model property serializer field (#7609) · ce156832
      Ömer Faruk Abacı 提交于
      * Add failing tests for ordering filter with model property
      
      * Fix get_default_valid_fields of OrderingFilter
      
      * Filter model properties in get_default_valid_fields of OrderingFilter
      ce156832
  17. 15 3月, 2021 2 次提交
  18. 11 3月, 2021 3 次提交