Changes between Initial Version and Version 1 of Ticket #927


Ignore:
Timestamp:
Jul 28, 2014, 8:43:25 PM (10 years ago)
Author:
Elrond
Comment:

Add json_error idea.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #927 – Description

    initial v1  
    2020- Should remove garbage_collection setting to spec file and remove it from mediagoblin.ini as it won't be commonly set.
    2121
     22'''json_ereturn json_response({"error": error}, status=403)rror'''
     23On the idea of:
     24{{{
     25def json_error(error_str, status=400):
     26    return json_response({"error": error_str}, status=status)
     27}}}
     28
    2229If any more issues are found please add them to this ticket. This is a rather large issue but most of the tasks in them are so small it doesn't warrant splitting them up.