Skip to content

Commit 3d23e92

Browse files
committed
Use the right module name for the json module.
- Legacy-Id: 3507
1 parent a3ea476 commit 3d23e92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/ietfauth/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,5 @@ def ajax_check_username(request):
160160
error = False
161161
if User.objects.filter(username=username).count():
162162
error = _('This email is already in use')
163-
return HttpResponse(simplejson.dumps({'error': error}), mimetype='text/plain')
163+
return HttpResponse(json.dumps({'error': error}), mimetype='text/plain')
164164

0 commit comments

Comments
 (0)