Re: model get_absolute_url strange behaviour

2009-08-18 Thread andreas schmid
Daniel Roseman wrote: > On Aug 18, 11:08 am, andreas schmid wrote: > >> hi to all, >> >> i have a weird problem with my urls. >> >> my model has a get_absolute_url like this: >>* def get_absolute_url(self): >> return "%s/%s/" % (self.pub_date.strftime("%Y"), self.slug )* >> >> and

Re: model get_absolute_url strange behaviour

2009-08-18 Thread Daniel Roseman
On Aug 18, 11:08 am, andreas schmid wrote: > hi to all, > > i have a weird problem with my urls. > > my model has a get_absolute_url like this: >    * def get_absolute_url(self): >         return "%s/%s/" %  (self.pub_date.strftime("%Y"), self.slug )* > > and the url conf is this one: >  *(r'^(?P

model get_absolute_url strange behaviour

2009-08-18 Thread andreas schmid
hi to all, i have a weird problem with my urls. my model has a get_absolute_url like this: * def get_absolute_url(self): return "%s/%s/" % (self.pub_date.strftime("%Y"), self.slug )* and the url conf is this one: *(r'^(?P\d{4})/(?P[-\w]+)/$', 'myapp.views.projects.project_detail',