So, using automatic transaction management, there is no way to cause a
transaction rollback without the user seeing the exception...
stink...
thanks for your help!
On Jun 30, 3:07 am, Karen Tracey wrote:
> On Sun, Jun 28, 2009 at 11:14 PM, sico wrote:
>
> > [snip]
>
> > However, I am still cu
On Sun, Jun 28, 2009 at 11:14 PM, sico wrote:
>
> [snip]
>
> However, I am still curious if there is a way to tell django to not
> commit the transaction without the user seeing an exception
>
>
Yes and no: I tried to describe that in my previous answer. Yes, you can
arrange to have the tran
My apologies, poorly written question (was late on Friday and I should
have gone home!)
What I'm doing is writing several records to the database in a single
request. The errors may occur due to validation problems and I'm
checking for these as I go. However the problem occurs as follows:
vali
On Fri, Jun 26, 2009 at 12:59 AM, sico wrote:
>
> Hi
>
> Is it possible to rollback the transaction without raising an
> exception when the transactions are tied to http requests??
> I'm writing several records in one post call, if any fail I'd like to
> rollback the transaction but return a nice
2009/6/26 sico :
>
> Hi
>
Hi
> Is it possible to rollback the transaction without raising an
> exception when the transactions are tied to http requests??
What do you mean ?
You use raw sql in a view ?
> I'm writing several records in one post call, if any fail I'd like to
> rollback the tra
Hi
Is it possible to rollback the transaction without raising an
exception when the transactions are tied to http requests??
I'm writing several records in one post call, if any fail I'd like to
rollback the transaction but return a nice error message to the user.
Surely I'm missing something as
6 matches
Mail list logo