4 ms·
I checked it out. If you input is not good (for example, I entered letters in the phone number field), it breaks the app and exposes the entire Django stacktrac
by yashchandra 14y ago
I checked it out. If you input is not good (for example, I entered letters in the phone number field), it breaks the app and exposes the entire Django stacktrace since it seems ilke DEBUG is set to True. I guess this is a small side project of course but thought to point it out.
- robfitz 14y agoRight you are. Glad I had the thing hooked up to notify me about this potential trainwreck! Big thanks for the heads up. It's fixed & off debug mode now. It will fail silently, which still isn't exactly ideal, but at least it doesn't reveal its innards any more. Thanks again.
- yashchandra 14y agono problem. Are you using Django form validation ? It should take care of this then.