From 3a54cdb85027e4a59ca6d78f5b91dbf7be77afd0 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 1 Feb 2019 09:27:21 -0600 Subject: redid jrnl to speed things up and use less memory --- app/sightings/autocomplete_light_registry.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 app/sightings/autocomplete_light_registry.py (limited to 'app/sightings/autocomplete_light_registry.py') diff --git a/app/sightings/autocomplete_light_registry.py b/app/sightings/autocomplete_light_registry.py deleted file mode 100644 index 9c113d0..0000000 --- a/app/sightings/autocomplete_light_registry.py +++ /dev/null @@ -1,14 +0,0 @@ -import autocomplete_light.shortcuts as al -from .models import AP - -al.register(AP, - search_fields=['common_name',], - attrs={ - 'placeholder': 'Animal/Plant...', - 'data-autocomplete-minimum-characters': 2, - }, - widget_attrs={ - 'data-widget-maximum-values': 4, - 'class': 'modern-style', - }, -) -- cgit v1.2.3-70-g09d2