Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the data source, column names in views.py (used in application form) #68

Open
skorasaurus opened this issue May 19, 2018 · 0 comments

Comments

@skorasaurus
Copy link
Member

While making a test application at http://clevelandlots.org/apply/#form-errors I found that: Lot PPN 016-10-098 - 3215 west 54th is on the map as an available parcel but when the application is submitted with that parcel; application is rejected with message "Lot PPN 016-10-098 is not available for purchase. Please select one from the map above "

I've checked and 016-10-098 is in the datasource of eligible parcels.

I've confirmed source of problem is [that the code in the submission form is still referring to our old cartodb account and old columns (https://github.com/opencleveland/large-lots/blob/ee757742f37d053c0260dab245d249716388eb2f/lots_client/views.py#L104).

to fix (not comprehensive, other things may need to be fixed; I'll need to edit this more)
1] in the old cartodb account; the ppn column was integer based so we may need to edit

'q': "SELECT ppn FROM joined WHERE ppn = '%s'" % ppn.replace('-', ''),
and get rid of that function.

2] change name of table (it's now 'sideyard') and user name (see

user_name: 'openclevelandgis',
);

skorasaurus added a commit to skorasaurus/large-lots that referenced this issue Aug 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant