How to deal with multiple foreign keys in child tables

2012-04-10 Thread Carlos Quiros
Hi, I am new to DJango. I have a database with three tables: -CRP - SubComponents of a CRP - Objectives of a SubComponent of a CRP. For this tables I created the following models: -Model Code---

Django manage.py returns ValueError: zero length field name in format

2014-01-05 Thread Carlos Quiros
Hi, I am trying to run a Django application in Python 2.6.6 Django==1.5.5 . But when I try to run *python manage.py* I get: *Traceback (most recent call last): File "manage.py", line 12, in print('Your environment is:"{}"'.format(os.environ['DJANGO_SETTINGS_MODULE'])) ValueError: zero

Broken links even after change the site information

2014-01-06 Thread Carlos Quiros
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 con