Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Dec 1, 2010
1 parent 766ea25 commit e86ba7d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Empty file added webmachine/helpers/__init__.py
Empty file.
Expand Up @@ -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):
Expand Down

0 comments on commit e86ba7d

Please sign in to comment.