Commit 8165a87bd65a48a173dff6ad18e4eb70f2841c31

Authored by Zambom
1 parent 2ff7c11e

Fixing webconference bug related to user image

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
webconference/views.py
... ... @@ -108,7 +108,10 @@ class Conference(LoginRequiredMixin,LogMixin,generic.TemplateView):
108 108 context['topic'] = conference.topic
109 109 context['subject'] = conference.topic.subject
110 110 context['name_room'] = kwargs.get('slug')
111   - context['user_image'] = 'http://localhost:8000'+str(self.request.user.image.url)
  111 +
  112 +
  113 + context['user_image'] = self.request.build_absolute_uri(str(self.request.user.image_url))
  114 +
112 115 try:
113 116 context['domain'] = Settings.objects.last().domain
114 117 except AttributeError:
... ...