django-articles icon indicating copy to clipboard operation
django-articles copied to clipboard

Url regex for redirect_to_article

Open maximegaillard opened this issue 14 years ago • 1 comments

maximegaillard avatar Aug 02 '11 10:08 maximegaillard

Can you describe to me why you want this to be \d{4}? Right now it's using .{3} to maintain a little bit of backward compatibility with sites that used django-articles when URLs used month abbreviations instead of month numbers. Think about links to articles on other sites, where the link looks like http://www.myfavoritesite.com/blog/2009/dec/15/some-article/

codekoala avatar Aug 15 '11 02:08 codekoala