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 UTC+10, Josh Cartmell wrote:
>
> 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 some unique piece of submitted 
> data (maybe their name) and if a form submission has already been submitted 
> matching that respond that they have already submitted the form.
>
>
> On Fri, Feb 14, 2014 at 1:44 PM, Giovanni Pederiva 
> <[email protected]<javascript:>
> > wrote:
>
>> 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
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to