Django for Designers/Adding models: Difference between revisions

imported>Paulproteus
Line 671:
Start your development server and look at http://localhost:8000 now. You'll see that instead of the fake HTML we had before, each link's text is the unicode representation of each bookmark in your database. Cool, huh?
 
That's okay, but the programmer-friendly unicode representation isn't really what we want to go there. Let's fix that:
 
<source lang="html4strict">
Line 681:
If the bookmark has a title, we'll make the title the link. Otherwise we'll show the URL. We also fill in the URL on the <a> tag, to make the link work.
 
We also want to fill in the other metadata, like tags and author info. To do that. (FIXME: Where do people make this change?)
 
(TODO (Karen): Can you change the paragraph above so that it is more clear which file to edit?, and if you are editing the whole file?)
 
<source lang="html4strict">
Anonymous user