-
Notifications
You must be signed in to change notification settings - Fork 40
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
TypeError: was_modified_since() takes from 0 to 2 positional arguments but 3 were given #45
Comments
@luk156 A major update was done for Django 4.2. Can you upgrade to Django Imagefit 0.8.0 and see if your error persists? |
dont' work (i'm on django 4.2) Traceback (most recent call last): |
|
This appears to be the same issue as #48. |
@luk156 can we close this issue out? |
[02/Aug/2023 08:19:34] "GET /imagefit/media_resize/600x600/products_images/0515-2.png HTTP/1.1" 500 95555
Internal Server Error: /imagefit/media_resize/600x600/products_images/0500-2.png
Traceback (most recent call last):
File "/Users/matteolucchesi/PycharmProjects/asa-backend/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/Users/matteolucchesi/PycharmProjects/asa-backend/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/matteolucchesi/PycharmProjects/asa-backend/venv/lib/python3.9/site-packages/imagefit/views.py", line 45, in resize
if not was_modified_since(request.META.get('HTTP_IF_MODIFIED_SINCE'),
TypeError: was_modified_since() takes from 0 to 2 positional arguments but 3 were given
The text was updated successfully, but these errors were encountered: