Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 4 changes #426

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Django 4 changes #426

merged 2 commits into from
Jun 4, 2024

Commits on Jun 4, 2024

  1. Prefetch type in the intersect calls.

    This reduces the queries used.
    dracos committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    8835262 View commit details
    Browse the repository at this point in the history
  2. Updates for Django 4.

    * Test 4.2 and 5.0 in tox/GitHub.
    * Switch from OSMGeoAdmin to GISModelAdmin
    * Remove USE_L10N.
    * Stop prefetching countries – this isn't needed because any single
      lookup can look it up, and any list fetches it separately in
      output_areas for the iterator. Django 5 will stop iterator() working
      with a prefetch_related() without a chunk size, we don't need this.
    dracos committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    e220c0f View commit details
    Browse the repository at this point in the history