equal
deleted
inserted
replaced
4 |
4 |
5 @author: tc |
5 @author: tc |
6 ''' |
6 ''' |
7 |
7 |
8 from django.conf import settings |
8 from django.conf import settings |
9 from django.utils.decorators import method_decorator |
|
10 from django.views.generic import ListView, DetailView |
9 from django.views.generic import ListView, DetailView |
11 from p4l.forms import RecordFilterForm |
10 from p4l.forms import RecordFilterForm |
12 from p4l.models import Record |
11 from p4l.models import Record |
13 from p4l.utils import get_labels_for_uris |
12 from p4l.utils import get_labels_for_uris |
14 import json |
13 import json |
180 } |
179 } |
181 context['query_dicts'] = json.dumps(query_dicts) |
180 context['query_dicts'] = json.dumps(query_dicts) |
182 |
181 |
183 # Languages list used in drop down list |
182 # Languages list used in drop down list |
184 context['languages_list'] = json.dumps(settings.LANGUAGES_LIST) |
183 context['languages_list'] = json.dumps(settings.LANGUAGES_LIST) |
185 |
184 |
186 return context |
185 return context |
187 |
186 |
188 |
187 |