3 ms·
My favorite new additions: - django.core.cache.backends.redis.RedisCache cache backend provides built-in support for caching with Redis - The runserver manage
by radus 5y ago
My favorite new additions:
- django.core.cache.backends.redis.RedisCache cache backend provides built-in support for caching with Redis
- The runserver management command now supports the --skip-checks option.
- The shell command now respects sys.__interactivehook__ at startup. This allows loading shell history between interactive sessions. As a consequence, readline is no longer loaded if running in isolated mode.
- New QuerySet.contains(obj) method returns whether the queryset contains the given object. This tries to perform the query in the simplest and fastest way possible.
- Lookup expressions may now be used in QuerySet annotations, aggregations, and directly in filters.