Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

cannot import name ENABLE_GEO #12

Closed
caged opened this issue Aug 30, 2011 · 5 comments
Closed

cannot import name ENABLE_GEO #12

caged opened this issue Aug 30, 2011 · 5 comments

Comments

@caged
Copy link
Contributor

caged commented Aug 30, 2011

While trying to get the dashboard running locally, I ran into this error during python manage.py syncdb. Looks like ENABLE_GEO is missing from settings.py and settings_local.py.

@caged
Copy link
Contributor Author

caged commented Aug 30, 2011

During the next step, the same issue occurs for CITY.

@caged
Copy link
Contributor Author

caged commented Aug 30, 2011

Just a note to anyone else running into this issue, I've added this to my settings_local.py file and it gets me over this hump.

ENABLE_GEO = True
CITY = {
  'URL': 'https://open311.sfgov.org/dev/Open311/v2/requests.xml',
  'PAGINATE': True,
  'JURISDICTION': 'sfgov.org'
}

@ctbarna
Copy link
Member

ctbarna commented Aug 30, 2011

Was just about to write that. Would you mind opening a pull request and adding that?

@caged
Copy link
Contributor Author

caged commented Aug 30, 2011

See #13

@mlevans
Copy link
Member

mlevans commented Aug 30, 2011

Pull request merged!

@mlevans mlevans closed this as completed Aug 30, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants