INCF / biostar-central

DEPRECATED, please go to upstream on
http://github.com/ialbert/biostar-central
Other
4 stars 4 forks source link

RSS feed links to example.com #10

Closed nicholsn closed 10 years ago

nicholsn commented 10 years ago

When subscribing to the RSS feed (http://neurostars.org/feeds/latest/) I noticed that all the links point back to the base URL of example.com.

Looks like this was brought up before: https://github.com/ialbert/biostar-central/issues/80

brainstorm commented 10 years ago

@nicholsn Thanks much for reporting this one!

I just fired up a django shell and ran the snippet pointed out in ialbert#80 without editing the actual view:

neurostars$ python manage.py shell
>>> site = Site.objects.get(id=1)
>>> site
<Site: example.com>
>>> site.domain = 'neurostars.org'
>>> site.save()
>>> Site.objects.get(id=1)
<Site: neurostars.org>

I suppose that one should run the very first biostar.sh init when settings.py is properly edited, otherwise default values like example.com creep into the database :-/

nicholsn commented 10 years ago

great, glad it was a quick fix!

On Fri, Jan 10, 2014 at 1:33 AM, Roman Valls Guimerà < notifications@github.com> wrote:

Closed #10 https://github.com/brainstorm/biostar-central/issues/10.

— Reply to this email directly or view it on GitHubhttps://github.com/brainstorm/biostar-central/issues/10 .