Re: Adding a simple yes/no confirm before committing instance to database

2013-05-06 Thread Radomir Wojcik
Thanks Karen, I will post it in the correct group. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post t

Re: Adding a simple yes/no confirm before committing instance to database

2013-05-06 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Thanks, Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fro

Adding a simple yes/no confirm before committing instance to database

2013-05-06 Thread Radomir Wojcik
I was looking at examples using 'raise ValidationError' but I don't want to raise an error based on the value of something. I always want the user to be prompted with a "Are you sure you want to save this?" every time they hit "save" : if request.method == 'POST': form = LocationFor