diff options
author | luxagraf <sng@luxagraf.net> | 2020-12-02 15:02:12 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-12-02 15:02:12 -0500 |
commit | ab8055b5cab2523d925f59c65bc38df103a26991 (patch) | |
tree | 29e4597bc0d86d658f574c0c4f0b036351a68742 /app/unused_apps/birds/autocomplete_light_registry.py | |
parent | 87f692178a6e30719c564076f00c206642f36ce6 (diff) |
deleted old apps and media
Diffstat (limited to 'app/unused_apps/birds/autocomplete_light_registry.py')
-rw-r--r-- | app/unused_apps/birds/autocomplete_light_registry.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/unused_apps/birds/autocomplete_light_registry.py b/app/unused_apps/birds/autocomplete_light_registry.py deleted file mode 100644 index 1cfa881..0000000 --- a/app/unused_apps/birds/autocomplete_light_registry.py +++ /dev/null @@ -1,24 +0,0 @@ -import autocomplete_light.shortcuts as al -from .models import Bird - -# This will generate a PersonAutocomplete class -al.register(Bird, - # Just like in ModelAdmin.search_fields - search_fields=['common_name','scientific_name'], - attrs={ - # This will set the input placeholder attribute: - 'placeholder': 'Tags...', - # This will set the yourlabs.Autocomplete.minimumCharacters - # options, the naming conversion is handled by jQuery - 'data-autocomplete-minimum-characters': 1, -}, - # This will set the data-widget-maximum-values attribute on the - # widget container element, and will be set to - # yourlabs.Widget.maximumValues (jQuery handles the naming - # conversion). - widget_attrs={ - 'data-widget-maximum-values': 4, - # Enable modern-style widget ! - 'class': 'modern-style', - }, -) |