'Create a new entry list'

@api.validate(entry_list_input_object_schema)
@api.response(201, model=entry_list_object_schema)
@api.response(Conflict)
def post(self, session=None):

    data = request.json
    name = data.get(u'name')
    new_list = False
    try:
        el.get_list_by_exact_name(name=name, session=session)
    except NoResultFound:
        new_list = True
    if (not new_list):
        raise Conflict((u"list    with    name    '%s'    already    exists" % name))
    entry_list = el.EntryListList(name=name)
    session.add(entry_list)
    session.commit()
    resp = jsonify(entry_list.to_dict())
    resp.status_code = 201
    return resp
