Wednesday, July 29, 2015

Re: Allow users to submit django form once per day

Okay guys,

After some days of thinking about the problem, I'm through with this approach, which is totally horrible, I guess, but works.

The code snippet can be found here: https://gist.github.com/seanmavley/c9a4af36c2693d9b437a

I'm posting back here because although the approach works, its not 'sustainable' nor reusable easily. Plus, if someone could guide me (this time, code-wise) to do a better job with it, I'll really appreciate. FBV or CBV, i'm all ears.

I'm currently using the approach in the link above on http://logecg.khophi.co

thanks

--
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+unsubscribe@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/3d3d8c5b-117c-4c88-b696-97a62650c2d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment