Superevents
Compare changes
Files
2- Tanner Prestegard authored
Adding some optimization in search forms by using select_related and prefetch_related. Some of this is on the Superevent model within the get_internal_events and get_external_events methods.
+ 13
− 3
@@ -17,6 +17,7 @@ logger = logging.getLogger(__name__)
@@ -31,7 +32,7 @@ class MainSearchForm(forms.Form):
@@ -47,19 +48,28 @@ class MainSearchForm(forms.Form):