I have a form that when submitted (using POST) results in a ListView page. Clicking on the record displayed by ListView opens a detail page (DetailView). The initial form has a captcha that is validated to access the ListView page, but by using the DetailView url I can access the records without acessing the form. How can I restrict access to record details so they can only be accessed after accessing the form and ListView? I think that this can be done using UserPassesTestMixin or similar, but i really don't know how to do this. Any tip will be helpful.
Thanks and sorry about my bad english. -- Thiago Luiz Parolin -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANbmKysTyhyu80aQ8fityvZa3cV28dHah5KF9wA%2BwLShEf56Wg%40mail.gmail.com.