Add support for serving users' avatars through the Libravatar API
This commit is contained in:
parent
6fb289727c
commit
43348a89da
8 changed files with 152 additions and 37 deletions
8
users/urls.py
Normal file
8
users/urls.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from django.conf.urls import url
|
||||
|
||||
from .views import libravatar
|
||||
|
||||
app_name = 'users'
|
||||
urlpatterns = (
|
||||
url('^avatar/(?P<hash>[a-z0-9]+)$', libravatar, name='libravatar'),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue