diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 3ef058a..1b137f6 100644
a
|
b
|
templates used by the :class:`ModelAdmin` views:
|
1300 | 1300 | queryset, use_distinct = super(PersonAdmin, self).get_search_results(request, queryset, search_term) |
1301 | 1301 | try: |
1302 | 1302 | search_term_as_int = int(search_term) |
1303 | | queryset |= self.model.objects.filter(age=search_term_as_int) |
1304 | | except: |
| 1303 | except ValueError: |
1305 | 1304 | pass |
| 1305 | else: |
| 1306 | queryset |= self.model.objects.filter(age=search_term_as_int) |
1306 | 1307 | return queryset, use_distinct |
1307 | 1308 | |
1308 | 1309 | .. method:: ModelAdmin.save_related(request, form, formsets, change) |