mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2025-01-03 14:56:25 -05:00
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.
This commit is contained in:
parent
7c5a03368b
commit
0feb9013b4
@ -42,6 +42,7 @@ urlpatterns = [
|
||||
path('settings', views.settings, name='settings'),
|
||||
path('thread/<int:id>', views.thread, name='thread'),
|
||||
path('tags/<tag>', views.tag, name='tag'),
|
||||
path('user/', views.home, name='user_bad'),
|
||||
path('user/<username>', views.user, name='user'),
|
||||
path('user/<username>/next/<int:next>', views.user, name='user_next'),
|
||||
path('user/<username>/prev/<int:prev>', views.user, name='user_prev'),
|
||||
|
Loading…
Reference in New Issue
Block a user