from django.conf.urls.defaults import *
import views

urlpatterns = patterns('',
    (r'^(P<url>.+/?)', views.article),
)

from django.conf.urls.defaults import *
import views

urlpatterns = patterns('',
    (r'^(?P<url>.+)/?', views.article),
)

Fix regular expression