Help with directory structure of the project

2013-09-17 Thread Ladislav Prokopny
Hi, I have quite big problems with having the directory structure with correct hierarchy and I decided to stop the development unless I will have it good. I have order, customers, users . So what I have is: myproj |-myproj |-web_app |---orders (with views.py, ajax.py) |templateta

Re: How to raise exception in model?

2013-09-17 Thread Ladislav Prokopny
Thanks, that solves my problem. On Mon, Sep 16, 2013 at 4:38 PM, C. Kirby wrote: > If you successfully get to render_to_response (or similar) the template > renderer will silently swallow errors. > If you want the error to stop rendering and either print an error or a 500 > or something similar