Ok. I solved the problem myself. The pre_save signal was changing my output
every time I used save() method.


W dniu śr., 18.01.2023 o 23:56 Artur Rączka <[email protected]>
napisał(a):

> Hello guys,
>
> What am I missing or doing wrong?
>
> >>> dublin.price
> 40
> >>> dublin.price = 100
> >>> dublin.price
> 100
> >>> dublin.save()
> >>> dublin.price
> 40
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/H-WR_IYvNYQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ca959a16-a448-4e73-8846-fb5cba341f9an%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ca959a16-a448-4e73-8846-fb5cba341f9an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD2QgpuYzwOhLicc5HXzXO1FqTwAJN3Qm_sAu1wBxoWUC%2BoePg%40mail.gmail.com.

Reply via email to