Christian WattengÄrd wrote: > 1. What is this SLUG thingy in every sourcecode I read?
In response to your first question, a "slug" is a term taken from the newspaper industry, but in this case it means the final part of your URL - a clean and easy was to access your page. If your blog post was called "Learning Django", then your slug would probably be "learning-django" and you could access it via your blog at "http://mydomain.com/blog/learning-django" The great thing about Django is it makes it easy to populate your slug from another field. For example: class Story(models.Model): title = models.CharField(maxlength=200) slug = models.SlugField(prepopulate_from=('title',)) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

