Re: Lost in forms

2006-07-27 Thread Kenneth Gonsalves
On 27-Jul-06, at 3:49 PM, toth anna wrote: > Can you tell me, is there a way in template to decide > update/create state of the object? i use a hidden field - but i dont know if that is the django way -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~---

Re: Lost in forms

2006-07-27 Thread toth anna
Kenneth Gonsalves <[EMAIL PROTECTED]> írta: > took me quite a long time to figure things out also Seems there is no easy way. Somehow i digged through myself, so my forms now are working fine. Can you tell me, is there a way in template to decide update/create state of the object? Thanks, Anna

Re: Lost in forms

2006-07-25 Thread Spider
toth anna wrote: > I have lost in form processing while learning django. > I need to create a simple object (say 'product') with some > basic validation (required fields, +minimal logic), but > after filling a form and submit it everything looks ok but > the object does not get saved and nothing i

Re: Lost in forms

2006-07-25 Thread Todd O'Bryan
On Jul 25, 2006, at 5:32 AM, toth anna wrote: > > Kenneth Gonsalves <[EMAIL PROTECTED]> írta: > >> look under 'forms and manipulators' in the docs > > You do not think seriously i didn't read it, do you? > It shows many not-so-good solution of one problem, and it is > a didactic misconception no

Re: Lost in forms

2006-07-25 Thread Kenneth Gonsalves
On 25-Jul-06, at 3:02 PM, toth anna wrote: > You do not think seriously i didn't read it, do you? > It shows many not-so-good solution of one problem, and it is > a didactic misconception not to write at last a "the final > working version is..." paste what you tried to do somewhere and we can

Re: Lost in forms

2006-07-25 Thread toth anna
Kenneth Gonsalves <[EMAIL PROTECTED]> írta: > look under 'forms and manipulators' in the docs You do not think seriously i didn't read it, do you? It shows many not-so-good solution of one problem, and it is a didactic misconception not to write at last a "the final working version is..." In my

Re: Lost in forms

2006-07-25 Thread Kenneth Gonsalves
On 25-Jul-06, at 2:27 PM, toth anna wrote: > Fromcommand line or in the admin site everything went right. > I have to write customized data entry forms, and need some > guidance to start. My models and custom views (listings) are > fine already. Unfortunately old cgi experience didn't > helped

Re: Lost in forms

2006-07-25 Thread toth anna
Darryl Caldwell <[EMAIL PROTECTED]> írta: > did you try adding your object from the command line? Using the interactice session? Fromcommand line or in the admin site everything went right. I have to write customized data entry forms, and need some guidance to start. My models and custom views (

Re: Lost in forms

2006-07-24 Thread Darryl Caldwell
Anna,did you try adding your object from the command line? Using the interactice session?-dOn 7/24/06, toth anna < [EMAIL PROTECTED]> wrote:I have lost in form processing while learning django. I need to create a simple object (say 'product') with somebasic validation (required fields, +minimal log

Lost in forms

2006-07-24 Thread toth anna
I have lost in form processing while learning django. I need to create a simple object (say 'product') with some basic validation (required fields, +minimal logic), but after filling a form and submit it everything looks ok but the object does not get saved and nothing is checked. (generic create