MCPcopy
hub / github.com/django/django / extra

Method extra

tests/admin_views/admin.py:920–921  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

918
919class ReportAdmin(admin.ModelAdmin):
920 def extra(self, request):
921 return HttpResponse()
922
923 def get_urls(self):
924 # Corner case: Don't call parent implementation

Calls 1

HttpResponseClass · 0.90

Tested by 15

test_extra_orderingMethod · 0.36
test_values_extraMethod · 0.36
test_ticket3141Method · 0.36
test_ticket2496Method · 0.36
test_ticket7235_extraMethod · 0.36