Commit d75978d0 authored by Michal Čihař's avatar Michal Čihař

Missing param

parent 7728304a
...@@ -119,6 +119,7 @@ def user_profile(request): ...@@ -119,6 +119,7 @@ def user_profile(request):
) )
if appsettings.DEMO_SERVER and request.user.username == 'demo': if appsettings.DEMO_SERVER and request.user.username == 'demo':
messages.warning( messages.warning(
request,
_('You can not change demo profile on demo server.') _('You can not change demo profile on demo server.')
) )
return redirect('profile') return redirect('profile')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment