diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-05-22 22:22:32 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-05-22 22:22:32 +0200 |
commit | e45b6042dd31f046226e29ad07e1638c7ff3b437 (patch) | |
tree | a4d6b2acc1167a30f51966f3da9df21eca1dfebc /archaeological_finds/views.py | |
parent | a35bb6b362f99f7b2c3d38dc8bbc54f234ac4dd7 (diff) | |
download | Ishtar-e45b6042dd31f046226e29ad07e1638c7ff3b437.tar.bz2 Ishtar-e45b6042dd31f046226e29ad07e1638c7ff3b437.zip |
Find: sheet for basket - manage default basket selection
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r-- | archaeological_finds/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index 871a5b90d..77d3522ca 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -62,6 +62,7 @@ find_extra_keys = { 'base_finds__find__description': 'base_finds__find__description__icontains', 'base_finds__batch': 'base_finds__batch', + 'basket': 'basket', 'image': 'image__isnull'} get_find = get_item( @@ -95,6 +96,8 @@ get_findsource = get_item( show_find = show_item(models.Find, 'find') revert_find = revert_item(models.Find) +show_findbasket = show_item(models.FindBasket, 'findbasket') + find_creation_wizard = FindWizard.as_view([ ('selecrecord-find_creation', RecordFormSelection), ('find-find_creation', FindForm), |