Skip to content

Tests: Language chooser middleware warning during tests #2742

Open
@JacobCoffee

Description

@JacobCoffee

Investigate separately these non-failing warnings

......................../usr/local/lib/python3.12/site-packages/admin_interface/templatetags/admin_interface_tags.py:29: UserWarning: Language chooser requires 'django.middleware.locale.LocaleMiddleware' in your MIDDLEWARE to work.
  warnings.warn(
............................................................/usr/local/lib/python3.12/site-packages/admin_interface/templatetags/admin_interface_tags.py:29: UserWarning: Language chooser requires 'django.middleware.locale.LocaleMiddleware' in your MIDDLEWARE to work.
  warnings.warn(
../usr/local/lib/python3.12/site-packages/admin_interface/templatetags/admin_interface_tags.py:29: UserWarning: Language chooser requires 'django.middleware.locale.LocaleMiddleware' in your MIDDLEWARE to work.
  warnings.warn

Originally posted by @JacobCoffee in #2741 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueThis is good for newcomers to take onhelp-wantedThe maintainers would welcome help with this issuetestsRelates to the test suite

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions