If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[prod] ISE: NameError: global name 'HttpResponseForbidden' is not defined

VERIFIED FIXED in 1.1

Status

Websites
markup.mozilla.org
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: mbrandt, Assigned: wenzel)

Tracking

unspecified

Details

(Whiteboard: [prod])

(Reporter)

Description

6 years ago
/requests/delete_mark

===========
Traceback (most recent call last):

  File "/data/www/python/markup.mozilla.org/markup/ffdemo/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/python/markup.mozilla.org/markup/ffdemo/markup/requests.py", line 172, in delete_mark
    return HttpResponseForbidden(json_response, 'application/json')

NameError: global name 'HttpResponseForbidden' is not defined
(Assignee)

Comment 1

6 years ago
Fixed (on dev):
https://github.com/mozilla/markup/commit/9e63b7d
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

6 years ago
Thx wenzel! grr wicked nice fix :p
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.