Commit 91ebbc25 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Closes #887, photo url notification is no longer relative

parent 0a7f54e9
......@@ -191,7 +191,8 @@ class Album(models.Model, metaclass=ModelTranslateMeta):
'zojuist geüpload'
new_album_notification.category = Category.objects.get(key='photo')
new_album_notification.url = self.get_absolute_url()
new_album_notification.url = (settings.BASE_URL
+ self.get_absolute_url())
new_album_notification.time = new_album_notification_time
self.new_album_notification = new_album_notification
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