Miroslav Bendík

Results 18 comments of Miroslav Bendík

I managed to integrate oscar with django cms using my own thumbnail template tag: ``` # web/templatetags/thumbnail.py from django.template import Library from easy_thumbnails.templatetags import thumbnail as easy_thumbnail from oscar import...

Some django applications (eg parler) always send `using` argument. I use this monkey patch to fix error `TypeError: delete() takes 1 positional argument but 2 were given`: ```python def monkey_patch_treebeard_delete():...

No, but it shouldn't be difficult to deduplicate with own mixin (not tested): ```python class DeduplicatedErrorsFormMixin(object): def _update_errors(self, errors): if not hasattr(errors, 'error_dict'): return super()._update_errors(errors) deduplicated_error_messages = {} for field,...

I am not processing PDF using pikepdf, i am not calling any function, there is only import in z3c.rml - https://github.com/zopefoundation/z3c.rml/blob/fe8a2d4c8cf1091318bd1d7144249b17dd007b0d/src/z3c/rml/page.py This import crashes uwsgi with pikepdf 5.x and 6.x....

The problem can be resolved by deleting empty translations. I use only Slovak translation, deleting src/oscar/locale/sk_SK/ will solve this problem for slovak translation. Other possible candidates for deleting are in...

Another solution is to import translation from "sk" to "sk_SK" (sk_SK has higher priority before sk, currently sk_SK is empty and sk contains translations which are not loaded). Same problem...

@webknjaz i have script which temporary removes problematic dependencies. They are automatically added with correct version in dependency build process. I can solve this problem easily when i know what...

@webknjaz Yes, metadata is served per version, this is part of the problem. NPM for example serves all dependencies for packages in single request. Instead of this, pip-tools (pip) needs...

Hardware components like spi_flash are not supported (it's simulator for testing of code running inside FreeRTOS).

Here is code with modules - https://github.com/mireq/esp32-internet-radio