-
Notifications
You must be signed in to change notification settings - Fork 162
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
Optimize handling of attributes #334
Commits on Jan 24, 2024
-
Optimize attribute values (#321)
* Implemented faster attributes save * renamed for clarity
Configuration menu - View commit details
-
Copy full SHA for 44abf30 - Browse repository at this point
Copy the full SHA 44abf30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13ce8f4 - Browse repository at this point
Copy the full SHA 13ce8f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6713b - Browse repository at this point
Copy the full SHA 6b6713bView commit details -
Make sure to only return attributevalues that are on the actual produ…
…ct to avoid transferring (#331) attributesvalues from parent to child.
Configuration menu - View commit details
-
Copy full SHA for 20ba73b - Browse repository at this point
Copy the full SHA 20ba73bView commit details
Commits on Feb 22, 2024
-
Improve multi db support (#335)
Use the same database as the passed-in manager
Configuration menu - View commit details
-
Copy full SHA for 8ea9bf5 - Browse repository at this point
Copy the full SHA 8ea9bf5View commit details
Commits on Mar 18, 2024
-
The image and file fields where nolonger working. (#337)
* The image and file fields where nolonger working. This PR restores that functionality. * nergens voor
Configuration menu - View commit details
-
Copy full SHA for f3f041e - Browse repository at this point
Copy the full SHA f3f041eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a561162 - Browse repository at this point
Copy the full SHA a561162View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c7f4c - Browse repository at this point
Copy the full SHA 68c7f4cView commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a9eca5 - Browse repository at this point
Copy the full SHA 2a9eca5View commit details
Commits on Apr 10, 2024
-
Fixes handling of null product image attributes
When an image product attribute is `null`, the product API would throw the following exception: ``` ValueError: The 'value_image' attribute has no file associated with it. […] File "rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "rest_framework/serializers.py", line 686, in to_representation return [ File "rest_framework/serializers.py", line 687, in <listcomp> self.child.to_representation(item) for item in iterable File "rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "oscarapi/serializers/fields.py", line 227, in to_representation return value.value.url File "django/db/models/fields/files.py", line 66, in url self._require_file() File "django/db/models/fields/files.py", line 41, in _require_file raise ValueError( ``` This patch fixes this by checking if the image field has a value before trying to generate a URL.
Configuration menu - View commit details
-
Copy full SHA for d4f9994 - Browse repository at this point
Copy the full SHA d4f9994View commit details
Commits on Apr 12, 2024
-
Merge pull request #343 from crgwbr/fix_null_image_attrs
Fixes handling of null product image attributes
Configuration menu - View commit details
-
Copy full SHA for c89783e - Browse repository at this point
Copy the full SHA c89783eView commit details
Commits on Apr 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 410dd8c - Browse repository at this point
Copy the full SHA 410dd8cView commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b2238a - Browse repository at this point
Copy the full SHA 3b2238aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 236f6d5 - Browse repository at this point
Copy the full SHA 236f6d5View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 94b66d3 - Browse repository at this point
Copy the full SHA 94b66d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65ae98f - Browse repository at this point
Copy the full SHA 65ae98fView commit details -
Merge pull request #346 from django-oscar/category_bulk_api
Add category bulk admin api
Configuration menu - View commit details
-
Copy full SHA for 717850b - Browse repository at this point
Copy the full SHA 717850bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e665d2d - Browse repository at this point
Copy the full SHA e665d2dView commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0105107 - Browse repository at this point
Copy the full SHA 0105107View commit details
Commits on Sep 17, 2024
-
Improve category upsert and add test (#352)
* Doe some updating and add test * refrhes_from_db only path * Add transaction that rollsback on error * update versions
Configuration menu - View commit details
-
Copy full SHA for cdab4d2 - Browse repository at this point
Copy the full SHA cdab4d2View commit details