Skip to content
Browse files

rename

  • Loading branch information...
1 parent 766ea25 commit e86ba7d1f15deaf84240a2de60373d4435f91515 benoitc committed Dec 1, 2010
View
0 webmachine/helpers/__init__.py
No changes.
View
7 webmachine/helpers/serializer.py → webmachine/helpers/serialize.py
@@ -210,13 +210,6 @@ def model_to_emittable(instance, fields=None, exclude=None):
fields_list.append((f.name, value))
ret = dict(fields_list)
- if ret:
- ret.update({
- "meta": {
- "model": smart_unicode(instance._meta),
- "pk":smart_unicode(instance._get_pk_val(), strings_only=True)
- }
- })
return ret
def value_to_emittable(value, fields=None, exclude=None):

0 comments on commit e86ba7d

Please sign in to comment.
Something went wrong with that request. Please try again.