Improve performance by not re-evaluating main context processors on

every template rendering in a signal receiver
This commit is contained in:
Raphael Michel
2020-03-26 09:50:58 +01:00
parent 29cb1e93d8
commit 0ee502abec
3 changed files with 15 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Generated by Django 3.0.4 on 2020-03-25 14:40
from django.db import migrations, models
from django.db.models import OuterRef, Count, Subquery, Q
from django.db.models import Count, OuterRef, Q, Subquery
from django.utils.timezone import now