Petr Dlouhý

Results 258 comments of Petr Dlouhý

@idlesign The `mark_safe()` should do the same think, as `|safe` filter. Except we can better handle it in the code. But the main issue still remains - how we avoid...

OK, so do you agree that the best method would be to use `mark_safe()` when allowed by some settings variable? The templates annotation can be left to different issue -...

The correct implementation of PR #3 was included.

I just realized, there is another problem with the new jQuery-ui: ![bez nazvu](https://user-images.githubusercontent.com/156755/50547656-83c8ee80-0c3e-11e9-8748-875d7072e83e.png) The selected item is highlighted differently, than in the old version: ![bez nazvu](https://user-images.githubusercontent.com/156755/50547663-bbd03180-0c3e-11e9-865d-cd83f890dc23.png)

@mlavin The problem with no change action on hidden form change is quite easily solvable with following JavaScript: ```javascript // Fix triggering chaining on hidden company field $( "#id_company_0" ).on(...

Here is output from PostgreSQL explain analyze: ``` explain analyze UPDATE hordak_account AS a SET full_code = ( SELECT string_agg(code, '' order by lft) FROM hordak_account AS a2 WHERE a2.lft...

I have achieved srcset in images inside articles by this code: ```python # image_formats.py from wagtail.images.formats import Format, register_image_format, unregister_image_format, get_rendition_or_not_found from django.utils.html import escape class SrcsetFormat(Format): def __init__(self, name,...

@andrewgy8 In my case the increase was extreme - when I try with just 1300 records it is almost instant vs. 20 seconds. I investigated a little bit further. The...

I was implementing this on an existing project, and I didn't experience any problems. But I didn't check whether the internal structure - I expected that it uses JSON db...

I was able to figure out, what is the problem. I have set `DEFAULT_PAGINATION_CLASS` in my project to: ``` 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', ``` If I comment it out, but I am...