You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW it does "work" on Python 2 in the sense that no exception is raised, but I'm guessing the semantics are undefined given that this was removed in Python 3.
In some situations, trying to open
/displayable_links.js
generates a 500 with the following message:https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/views.py#L197
Replacing this line with e.g.
return HttpResponse(dumps([link[1] for link in sorted(links, key=lambda link: link[1]['title'])]))
fixes the problem.I'm using Python 3.4, but this line of code looks unintended and shouldn't work on Python 2 either :-)
The text was updated successfully, but these errors were encountered: