Skip to content

Instantly share code, notes, and snippets.

@damilare
Last active December 13, 2015 19:09
Show Gist options
  • Select an option

  • Save damilare/4960828 to your computer and use it in GitHub Desktop.

Select an option

Save damilare/4960828 to your computer and use it in GitHub Desktop.

Revisions

  1. damilare renamed this gist Feb 15, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. damilare created this gist Feb 15, 2013.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    def __unicode__(self):
    try:
    return '{0}'.format(self.name)
    except UnicodeError:
    return ''