from django.conf.urls import patterns
from django.conf.urls import url

from .views import redirect


urlpatterns = patterns('',
    url(r'^(?P<key>[a-zA-Z0-9]+)$', redirect, name='deflect-redirect'),
)

from django.conf.urls import patterns
from django.conf.urls import url

from .views import redirect


urlpatterns = patterns('',
    url(r'^(?P<key>[a-zA-Z0-9-]+)$', redirect, name='deflect-redirect'),
)

Allow dashes in URL path regexp
Allow dashes in URL path regexp
