From 0feb9013b4c839c673300746a72db92e5eb38a5a Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Fri, 26 Oct 2018 14:00:43 -0400 Subject: [PATCH] Keep reverse route for user page for user with null username from crashing I find it inexplicable that this could happen, but there you are. --- brutaldon/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/brutaldon/urls.py b/brutaldon/urls.py index ac6f85e..f1812c8 100644 --- a/brutaldon/urls.py +++ b/brutaldon/urls.py @@ -42,6 +42,7 @@ urlpatterns = [ path('settings', views.settings, name='settings'), path('thread/', views.thread, name='thread'), path('tags/', views.tag, name='tag'), + path('user/', views.home, name='user_bad'), path('user/', views.user, name='user'), path('user//next/', views.user, name='user_next'), path('user//prev/', views.user, name='user_prev'),