Hey Bernd, I'm curious about your use case. It's common to create a read-only database user to make sure no data is modified, but I've never come across anything at the instance/row level.
-Jimmy On Sat, Jun 2, 2018, 8:14 PM Bernd Wechner <bernd.wech...@gmail.com> wrote: > I'd like to instantiate a model, and play around with it, but ensure it's > never saved. At bare minimum instantiate it, play around with it then > delete it, but ideally disable saving somehow. I imagine I can override > save() on the instance, but am wondering if anyone has experience doing > this or if there's a canonical method for doing it. I'll experiment but in > the mean time fishing as I said for experience and any standard methods out > there. > > Regards, > > Bernd. > > -- > 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 post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/c14ca134-cc54-498a-b5fa-78e80b768102%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c14ca134-cc54-498a-b5fa-78e80b768102%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADEEVemMcE0YMK74hUsbpUc9yDzdd33KMd%3DLgCEacnYoKN45Gw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.