From cce204b1fc4b1ab554929c0728e9bc635a256fbd Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Sat, 6 Jan 2018 12:09:45 -0500 Subject: [PATCH] Fixed newsletter images --- newsletters/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/newsletters/admin.py b/newsletters/admin.py index 7b5dea7..32c4690 100644 --- a/newsletters/admin.py +++ b/newsletters/admin.py @@ -28,7 +28,6 @@ class NewsletterAdmin(admin.ModelAdmin): def save_model(self, request, instance, form, change): user = request.user instance = form.save(commit=False) - instance.body = instance.body.replace('src="', 'src="' + settings.BASE_URL) instance.creator = user instance.save() return instance