Skip to content

Commit 8e63a73

Browse files
author
Myth
committedMay 3, 2017
rename query parameter from to format
1 parent ddacd84 commit 8e63a73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎django_api_log/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def json(self, request):
8989
reverse('%s:%s' % (DjangoApiLogConfig.name, 'view_api_data'), args=(self.id,)))
9090
data['response_url'] = request.build_absolute_uri(
9191
reverse('%s:%s' % (DjangoApiLogConfig.name, 'view_api_response'), args=(self.id,)))
92-
data['django_error_page_url'] = u'%s?from=django' % request.build_absolute_uri(
92+
data['django_error_page_url'] = u'%s?format=django' % request.build_absolute_uri(
9393
reverse('%s:%s' % (DjangoApiLogConfig.name, 'view_api_response'), args=(self.id,)))
9494
return data
9595

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='django_api_log',
5-
version='0.2.1',
5+
version='0.2.2',
66
packages=['django_api_log', 'django_api_log.migrations'],
77
url='https://github.com/MythRen/django-api-log',
88
license='BSD',

0 commit comments

Comments
 (0)
Please sign in to comment.