Re: Django auto-deletes field related to MySQL Transactions

2018-10-27 Thread RyanW
Thanks for the info. Do you know of a way that I can confirm this is happening? Best, - Ryan On Thursday, October 25, 2018 at 8:37:35 AM UTC-5, C. Kirby wrote: > > The delete method in your views, yes, but also how you build the button. > You should use a form with a hidden field (the id to

Re: Django auto-deletes field related to MySQL Transactions

2018-10-24 Thread RyanW
models that is > causing the deletion? Is a user deleting another object, and that is > triggering a cascade delete on a different model? > > Mark > > On Wed, Oct 24, 2018 at 4:22 PM RyanW > > wrote: > >> Yes, it is. Are you referring to 'delete' method in my views? >>

Re: Django auto-deletes field related to MySQL Transactions

2018-10-24 Thread RyanW
; considered by the browser to be safe (non-destructive) and ideally > idempotent. YOu should _never_ put a destructive action behind a GET, it > should always be behind a POST or (even better if you are going the full > REST route) DELETE. > > On Wednesday, October 24, 2018 at 11:

Re: Django auto-deletes field related to MySQL Transactions

2018-10-24 Thread RyanW
and using that. See if you still get random deletes on that > database. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *RyanW > *Sent:* Wednesday, October 24, 2018 9:51 AM > *To:* Django users > *Subject:* Re: Django

Re: Django auto-deletes field related to MySQL Transactions

2018-10-24 Thread RyanW
glegroups.com > *Subject:* Re: Django auto-deletes field related to MySQL Transactions > > > > You could have a signal which captures all these and logs its origin. > > > > On Tue, 23 Oct, 2018, 9:35 PM RyanW, > > wrote: > > Yes, I honestly don't see how Djan

Re: Django auto-deletes field related to MySQL Transactions

2018-10-23 Thread RyanW
t seem like Django would be doing this. > > Do you have any other apps connected to the database? > > You’ll probably want to surround your URL in quotation marks. url ‘epedelete’ epe.id %}”> > > > > > > *From:* django...@googlegroups.com [mailto: > django.

Re: Django auto-deletes field related to MySQL Transactions

2018-10-23 Thread RyanW
s.com [mailto: > django...@googlegroups.com ] *On Behalf Of *RyanW > *Sent:* Monday, October 22, 2018 7:55 PM > *To:* Django users > *Subject:* Django auto-deletes field related to MySQL Transactions > > > > I have a Django site I'm developing, which I've connected to a

Django auto-deletes field related to MySQL Transactions

2018-10-22 Thread RyanW
I have a Django site I'm developing, which I've connected to a MySQL db. I haven't deployed into production yet, as I'm still working on a couple of things, however I leave the server running in development for initial data entry. I've noticed that some of the records already inputted gets