mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-19 06:28:03 +00:00
Give the url a name
This commit is contained in:
@@ -13,8 +13,12 @@ urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
url('openid/', include('django_openid_auth.urls')),
|
||||
url('accounts/', include('ivatar.ivataraccount.urls')),
|
||||
url('avatar/(?P<digest>\w{64})', AvatarImageView.as_view()),
|
||||
url('avatar/(?P<digest>\w{32})', AvatarImageView.as_view()),
|
||||
url(
|
||||
'avatar/(?P<digest>\w{64})',
|
||||
AvatarImageView.as_view(), name='avatar_view'),
|
||||
url(
|
||||
'avatar/(?P<digest>\w{32})',
|
||||
AvatarImageView.as_view(), name='avatar_view'),
|
||||
url('', TemplateView.as_view(template_name='home.html')),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user