Skip to content

Url regex for redirect_to_article #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Url regex for redirect_to_article #4

wants to merge 1 commit into from

Conversation

maximegaillard
Copy link

No description provided.

@codekoala
Copy link
Owner

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants