Django for Designers/Adding models: Difference between revisions

imported>Aldeka
imported>Aldeka
Line 189:
</source>
 
==== Fix the hideous default model representation====
Wait a minute! <Bookmark: Bookmark object> is an utterly unhelpful representation of this object. Let’s fix that by editing the Bookmark model. Use your text editor to open the bookmarks/models.py file and adding a __unicode__() method to both Bookmark and Tag:
 
Anonymous user