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