Broken links even after change the site information
Hello.
I have a Django application running in my server http://data.ilri.org/formhub
However the links of the application are broken for example http://data.ilri.org/accounts/register/ instead of http://data.ilri.org/formhub/accounts/register/
I been looking on the internet and also configured the site framework with:
python manage.py shell
>>> from django.contrib.sites.models import Site
>>> one = Site.objects.all()[0]
>>> one.domain = 'http://data.ilri.org/formhub/'
>>> one.name = 'Formhub'
>>> one.save()
>>> quit()
(formhub-env)[cquiros@rmg formhub]$ python manage.py dumpdata sites
Your environment is:"formhub.preset.default_settings"
[{"pk": 1, "model": "sites.site", "fields": {"domain": "http://data.ilri.org/formhub/", "name": "Formhub"}}](formhubnv)
But still the links are broken.
What else do I need to do?
Any help is much appreciated.
Carlos.
-- I have a Django application running in my server http://data.ilri.org/formhub
However the links of the application are broken for example http://data.ilri.org/accounts/register/ instead of http://data.ilri.org/formhub/accounts/register/
I been looking on the internet and also configured the site framework with:
python manage.py shell
>>> from django.contrib.sites.models import Site
>>> one = Site.objects.all()[0]
>>> one.domain = 'http://data.ilri.org/formhub/'
>>> one.name = 'Formhub'
>>> one.save()
>>> quit()
(formhub-env)[cquiros@rmg formhub]$ python manage.py dumpdata sites
Your environment is:"formhub.preset.default_settings"
[{"pk": 1, "model": "sites.site", "fields": {"domain": "http://data.ilri.org/formhub/", "name": "Formhub"}}](formhubnv)
But still the links are broken.
What else do I need to do?
Any help is much appreciated.
Carlos.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c3d05252-7253-409d-ab03-5f9296bdc24c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home