Re: [mezzanine-users] Form that can be filled only once

2014-02-15 Thread Giovanni Pederiva
thanks a lot for the advice 2014-02-14 23:38 GMT+01:00 Sam Kingston : > Further to what Josh has said, since forms are a core part of Django, have > a look through the excellent docs they have: > > https://docs.djangoproject.com/en/1.6/topics/forms/ > > The "if user has submitted, reject" bit is

Re: [mezzanine-users] Form that can be filled only once

2014-02-14 Thread Sam Kingston
Further to what Josh has said, since forms are a core part of Django, have a look through the excellent docs they have: https://docs.djangoproject.com/en/1.6/topics/forms/ The "if user has submitted, reject" bit is perfect for a form validator. Good luck On Saturday, 15 February 2014 08:22:57

Re: [mezzanine-users] Form that can be filled only once

2014-02-14 Thread Josh Cartmell
Hey Giovanni, you definitely can. I would require the users to log in, check if the currently logged in use has already submitted the form and if so display a message saying that they've already submitted the form and don't need to again. Alternatively when a user submits the form you could check

[mezzanine-users] Form that can be filled only once

2014-02-14 Thread Giovanni Pederiva
hi, i'm trying to make a website for an association, we need to have some people apply for a summer school. i'd like to create a form with all the data i need to collect from them, but i want also to allow each user to submit that form only once. is there a way to do this? thanks in advance --