File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515from django .db .models .fields import SlugField
1616from django .db .models .lookups import Exact
1717from django .db .models .query_utils import Q
18- from extras .models .customfields import CustomField
19-
2018from django .db .models .signals import post_delete , post_save
19+ from extras .models .customfields import CustomField
2120
2221from .common import UnresolvedReference
2322from .compat import in_version_range
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ def summary(self):
8383
8484
8585def profiled (name ):
86- """Decorator to time a function and record it in the profile context.
86+ """
87+ Decorator to time a function and record it in the profile context.
8788
8889 No-op when no profile context exists (i.e. outside of a profiled request).
8990 """
@@ -108,7 +109,8 @@ def wrapper(*args, **kwargs):
108109
109110
110111class DiodeProfileMiddleware :
111- """Django middleware for profiling Diode plugin API requests.
112+ """
113+ Django middleware for profiling Diode plugin API requests.
112114
113115 Wraps each request to the plugin API with:
114116 - Total request timing
You can’t perform that action at this time.
0 commit comments