From: Ciro Scognamiglio Date: Wed, 26 Feb 2014 18:31:45 +0000 (+0100) Subject: rest parameters can be sent also with a get X-Git-Tag: myslice-1.1~284^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=b809db2b2f87c67812b18ac1f1b75910c4168ea4;p=myslice.git rest parameters can be sent also with a get --- diff --git a/rest/__init__.py b/rest/__init__.py index 075f9371..636f1e54 100644 --- a/rest/__init__.py +++ b/rest/__init__.py @@ -13,7 +13,6 @@ from string import join import decimal import datetime import json -import urlparse # handles serialization of datetime in json DateEncoder = lambda obj: obj.strftime("%B %d, %Y %H:%M:%S") if isinstance(obj, datetime.datetime) else None