Re: Multiple URLs, Common View

2010-07-19 Thread Zaheer Soebhan
Maybe make a pattern like r'(home|about|family|aviation|linux|etc)$' to match either home, about, family, etc? The "|" should work like the "OR"-operator. 2010/7/19 Ryan Osborn > You could try using this as your pattern: > > (?P[a-zA-Z0-9-]+) > > Ryan > > On Jul 19, 1:03 am, Phil Edwards wrote:

Re: prepopulated_fields - slug and underscores

2010-07-19 Thread Zaheer Soebhan
May I ask why you want to do that? Hyphens are preferred because of the way search machines work. You could override the save() method of your model and add self.page_slug = slugify(page_title).replace('-','_'), I think. Gr, Zaheer -- You received this message because you are subscribed to the