Get errors with clean database after syncdb

Issue #6 resolved
Anonymous created an issue

hg clone http://bitbucket.org/diefenbach/lfc-buildout-development/ rm lfc.db bin/django syncdb bin/django runserver go to localhost:8000

get the following error list index out of range at

src/lfc-buildout-development/parts/lfc/lfc/utils/init.py in get_portal

  1. portal = cache.get(cache_key)
  2. if portal:
  3. return portal 84.
  4. try:
  5. portal = lfc.models.Portal.objects.get(pk=pk)
  6. except lfc.models.Portal.DoesNotExist:

  7. portal = lfc.models.Portal.objects.filter()[0]

Comments (1)

  1. Log in to comment