Re: ModelForms

2012-03-23 Thread Tim Ney
use these pre-rendered forms because mine typically need > too much customization. So what we do is the following: > > {% csrf_token %} > ... > > > ... > > > and you can easily add in your own stylizing CSS and elements as needed. > > On Fri, Mar 23, 2012 at 12:25

Re: ModelForms

2012-03-23 Thread Tim Ney
I think the best thing for you do is to create the css outside the template. Like this - create the css file, separately, then reference the file in the template. Or, better yet, add the css you need for your form in you main css file that is referenced in your base template and just inherit it by

Re: usage of url template tag

2012-03-21 Thread Tim Ney
Have you read the Django book section on advanced urlconfs, there is a very good discussion on how to put together customs urls. There are also good examples as well. The Django book is online all you have to do is google for it. On Wed, Mar 21, 2012 at 6:01 AM, Larry Martell wrote: > On Tue, Mar

Re: calculated form field

2012-03-20 Thread Tim Ney
by printing capital and tax_rate so you can see > what values are being passed into the function. > > On 3/19/12, Tim Ney wrote: > > Rajeesh, > > > > Following your advice, Im think I've about solved the problem. > > I've got one last exception, I hope.

Re: calculated form field

2012-03-19 Thread Tim Ney
Rajeesh, Following your advice, Im think I've about solved the problem. I've got one last exception, I hope. Here is the new iteration of views.py, all other files remain the same. In short the page renders to the screen, the problem arises when values are submitted to the view. I get an excepti

Re: calculated form field

2012-03-19 Thread Tim Ney
Thank you for responding, this is a vexing problem. I know the urs.py is fine, as the the form html code I posted is part of an .html, largely static html, which renders to the screen fine. The form fields are also showing up in the rendered page, and numbers can be entered, when the submit button