summaryrefslogtreecommitdiff
path: root/app/sightings/autocomplete_light_registry.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-02-01 09:27:21 -0600
committerluxagraf <sng@luxagraf.net>2019-02-01 09:27:21 -0600
commit3a54cdb85027e4a59ca6d78f5b91dbf7be77afd0 (patch)
tree5fedfaa18d46d4da45ef9504b511eaa74bda4eae /app/sightings/autocomplete_light_registry.py
parent34f95ec85a7956515f810c9fda7d9650edc7da30 (diff)
redid jrnl to speed things up and use less memory
Diffstat (limited to 'app/sightings/autocomplete_light_registry.py')
-rw-r--r--app/sightings/autocomplete_light_registry.py14
1 files changed, 0 insertions, 14 deletions
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',
- },
-)