Correct & update hard-coded domain names from legacy codebase.

This commit is contained in:
Bradley M. Kuhn 2020-01-24 09:26:59 -08:00
parent fd86367e85
commit c564f15511
3 changed files with 7 additions and 7 deletions

View file

@ -60,9 +60,9 @@ class Entry(models.Model, bsoup.SoupModelMixin):
super(Entry, self).save() super(Entry, self).save()
return return
blog_name = 'Software Freedom Law Center Blog' blog_name = 'Software Freedom Conservancy Blog'
blog_url = 'http://www.softwarefreedom.org/blog/' blog_url = 'http://www.sfconservancy.org/blog/'
post_url = ('http://www.softwarefreedom.org' post_url = ('http://www.sfconservancy.org'
+ self.get_absolute_url()) + self.get_absolute_url())
import xmlrpclib import xmlrpclib

View file

@ -48,9 +48,9 @@ class PressRelease(models.Model, bsoup.SoupModelMixin):
super(PressRelease, self).save() super(PressRelease, self).save()
return return
blog_name = 'Software Freedom Law Center News' blog_name = 'Software Freedom Conservancy News'
blog_url = 'http://www.softwarefreedom.org/news/' blog_url = 'https://www.sfconservancy.org/news/'
post_url = ('http://www.softwarefreedom.org' post_url = ('https://www.sfconservancy.org'
+ self.get_absolute_url()) + self.get_absolute_url())
import xmlrpclib import xmlrpclib

View file

@ -1,2 +1,2 @@
<p><i>Blog post by <strong>{{ obj.author.formal_name }}</strong>. Please email any comments on this entry to <a href="mailto:{{ obj.author.username }}@softwarefreedom.org">&lt;{{ obj.author.username }}@sfconservancy.org&gt;</a>.</i></p> <p><i>Blog post by <strong>{{ obj.author.formal_name }}</strong>. Please email any comments on this entry to <a href="mailto:{{ obj.author.username }}@sfconservancy.org">&lt;{{ obj.author.username }}@sfconservancy.org&gt;</a>.</i></p>
{{ obj.body|safe }} {{ obj.body|safe }}