Closed adamfishman closed 3 years ago
Hey awesome!
I tried it a couple times out and the submissions worked (I didn't get the find my ward to work, but I didn't have a valid google key to plug in)
I noticed that if a user puts a non-integer value into the ward field at /submit ; they'll receive an ValueError at /store-data/
; I'm stepping away right now for an hour or 2 but we could enforce the integer much more elegantly to the user by
the input type for that particular element from 'text' to integer' (ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number)
Looks good to me; :+1:
first cut of storing in db, and adding error message for trying to view submissions that don't exist