Skip to content

Instantly share code, notes, and snippets.

@tecoholic
Created June 14, 2013 14:09
Show Gist options
  • Save tecoholic/5782083 to your computer and use it in GitHub Desktop.
Save tecoholic/5782083 to your computer and use it in GitHub Desktop.
Missing modules from REQUIREMENTS.txt from qgis-django
# discovered during setting.py error
pyasn1
# discovered during syncdb error
django-ratings
django-taggit-autosuggest
@tecoholic
Copy link
Author

Also update the following in settings.py with

# Added by Tim for snippets (and possibly other site search support)
HAYSTACK_SITECONF = 'search_sites'
HAYSTACK_SEARCH_ENGINE = 'whoosh'
HAYSTACK_WHOOSH_PATH = SITE_ROOT + '/search-index'

with this.

HAYSTACK_CONNECTIONS = {
   'default': {
     'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
     'PATH': SITE_ROOT + '/search_index',
    },
}

The latest version of haystack installed by using the REQUIREMENTS.txt file has changed the settings format to a dict

@tecoholic
Copy link
Author

Rolling back the previous comment, the DB doesn't agree with the latest haystack I think. Switching to 1.2.7 that uses the prev settings

@tecoholic
Copy link
Author

The issue is unrelated. I think the combination of python 2.7 with the things isn't working out well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment