Add support for serving users' avatars through the Libravatar API

This commit is contained in:
Danielle McLean 2018-03-23 12:56:13 +11:00
parent 6fb289727c
commit 43348a89da
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
8 changed files with 152 additions and 37 deletions

8
users/urls.py Normal file
View 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'),
)