diff options
Diffstat (limited to 'archaeological_operations/views.py')
| -rw-r--r-- | archaeological_operations/views.py | 8 | 
1 files changed, 0 insertions, 8 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py index 6e570fc97..1ce4c4622 100644 --- a/archaeological_operations/views.py +++ b/archaeological_operations/views.py @@ -92,14 +92,6 @@ def get_available_operation_code(request, year=None):      data = json.dumps({'id':models.Operation.get_available_operation_code(year)})      return HttpResponse(data, mimetype='text/plain') -def get_parcel_parser(key_section, key_number): -    def func(dct): -        print dct -        section, number = dct.get(key_section), dct.get(key_number) -        if not section or not number: -            return {} -        return {key_section:section, key_number:number} -  get_operation = get_item(models.Operation, 'get_operation', 'operation',      bool_fields = ['end_date__isnull'],      dated_fields = ['start_date__lte', 'start_date__gte',  | 
