from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^id/(?P<dweet_id>[0-9]*)$', views.fullscreen_dweet,
        name='fullscreen_dweet'),
    url(r'^blank$', views.blank_dweet, name='blank_dweet'),
]

handler404 = views.handler404

from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^id/(?P<dweet_id>[0-9]+)$', views.fullscreen_dweet,
        name='fullscreen_dweet'),
    url(r'^blank$', views.blank_dweet, name='blank_dweet'),
]

handler404 = views.handler404

Fix url regex that allowed illegal url
Fix url regex that allowed illegal url

Old url pattern allowed /id/  (without a number), which resulted in a
500 (and an email). And lately google spiders seems to do this daily.
