You can save the datetime of the last form submission and check whether its oneday or not in the view. If its one day then show pass the form or else dont.
Hope this helps. On 23 Jul 2015 20:38, "Nkansah Rexford" <seanmav...@gmail.com> wrote: > I want to allow users to submit a django form once, and only once > everyday. After submitting the form, the form wouldn't even show > (server-side checkings, I don't want to use JS or client side thing; easily > 'tamper-able') > > What is the best way to do so in Django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/b310e40f-8baa-449a-bcef-36052d0256a5%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/b310e40f-8baa-449a-bcef-36052d0256a5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B4-nGpU8Pmc7ypxZaGACLY1Y34jLsfr75o_Pq2k4-xo35pV%2Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.