Results 21 comments of Wonder

@bintoro Great thanks, you saved me! The working code is like below: ```python >>> serializer = UserSelfUpdateSerializer({"password": "123", "email": None}, init=False) >>> serializer.to_primitive() {'email': None, 'password': '123'} ``` However, there...

I've implemented lazy sub-commands in my way, FYI. ```python import sys from importlib import import_module from my_project.db import alembic import click def import_from_string(spec): """ Thanks to https://github.com/encode/django-rest-framework/blob/master/rest_framework/settings.py#L170 Example: import_from_string('django_filters.rest_framework.DjangoFilterBackend') engine...

Yes, please make a update to pypi.

@shubham-bansal96 Thanks for the reply. To be honesty I can't always observe the consistent performance, but I am sure I have the issue. I just had a test again: language=Python...

Oh, sorry! I found two similar pull requests: https://github.com/stephenmcd/mezzanine/pull/1949 and https://github.com/stephenmcd/mezzanine/pull/1922

I known `srcache_store_skip`, but it's difficult for complex use case. Since it requires a variable, not a logic block(eg: lua code). If I depend multiple variables to determine whether to...

@agentzh thank you, I've understood that `$srcache_expire` is only a convenience by srcache which respects upstream's `Cache-Control`. I think it's perfect if my cache layer can interact with upstream, so...

@agentzh Thanks, I will give a try. I will set `ngx.var.srcache_nostore=true` in `header_filter_by_lua_block{}`, and expect `srcache_store_skip $srcache_nostore` works... PS: I'm using original Nginx plused plugins coming from OpenResty.

So late I am back here again. --- Below is my new configuration sample: ```nginx server { set $canonical_host www.example.com; # ... set_escape_uri $pagecache_key $canonical_host$uri$is_args$args; set $pagecache_exptime ''; header_filter_by_lua_block {...