Hi everyone. I'm trying to generate slugs automatically and disallow user to interfere with this. I think way to go is something like:
class Entry(Model): title=CharField(max_length=100) slug=SlugField(default=slugify(...title...)) but I have no idea how to pass title field (or at least model instance) to slugify function. Any idea how to solve? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---