[Answer]-Allauth {% providers_media_js %} giving need more than 1 value to unpack error

1👍

LOCALE_FUNC should be set to the full path of a callable function. Here, "path.to.callable" is just an example that is not to be taken literraly, as that would mean need to create a file "path/to.py" with a def callable defined inside.

I suggest you avoid a path to a callable and directly inline the callable, like this:

'LOCALE_FUNC':  lambda request: 'en-US

Leave a comment