Re: How to hash fields and detect changes in a record

2022-06-12 Thread Mike Dewhirst
--(Unsigned mail from my phone) Original message From: Ryan Nowakowski Date: 13/6/22 07:09 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: How to hash fields and detect changes in a record On Sat, Jun 11, 2022 at 12:13:16AM +1000, Mike Dewhirst wrote:> On 10/06/202

Re: Need best tutorial

2022-06-12 Thread ramadhan ngallen
Use this from Telusko https://youtube.com/playlist?list=PLsyeobzWxl7poL9JTVyndKe62ieoN-MZ3 On 13 Jun 2022, 01:36 +0300, 'Kasper Laudrup' via Django users , wrote: > On 12/06/2022 07.54, Ghalib Raja wrote: > > hi there, i am beginner in python. can anyone share python best tutorial > > for web d

Re: Need best tutorial

2022-06-12 Thread 'Kasper Laudrup' via Django users
On 12/06/2022 07.54, Ghalib Raja wrote: hi there, i am beginner in python. can anyone share python best tutorial for web development please Learn the basics of Python first then focus on web development later. If you already have some experience with other languages I found this freely lice

Re: Using a lazy value in a queryset filter?

2022-06-12 Thread Ryan Nowakowski
On Sun, Jun 12, 2022 at 11:46:44AM -0700, Sylvain wrote: > Hello, > > I’m trying to use the current language of the user in a queryset, but the > value gets resolved outside of the request-response cycle. I thought this > could work since querysets are lazy, but I guess that doesn’t make the >

Re: How to hash fields and detect changes in a record

2022-06-12 Thread Ryan Nowakowski
On Sat, Jun 11, 2022 at 12:13:16AM +1000, Mike Dewhirst wrote: > On 10/06/2022 11:24 pm, Ryan Nowakowski wrote: > > On Fri, Jun 10, 2022 at 05:52:48PM +1000, Mike Dewhirst wrote: > > > I think the solution might be to hash note.title and note.note into a new > > > field note.hash on being auto-crea

Using a lazy value in a queryset filter?

2022-06-12 Thread Sylvain
Hello, I’m trying to use the current language of the user in a queryset, but the value gets resolved outside of the request-response cycle. I thought this could work since querysets are lazy, but I guess that doesn’t make the values they use lazy. Here’s an example of what I’m talking about: f

Need best tutorial

2022-06-12 Thread Ghalib Raja
hi there, i am beginner in python. can anyone share python best tutorial for web development please -- 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

Re: I can't use accented letters in my model

2022-06-12 Thread Virgilio Ravagli
I found a way: book.title = titolo.decode('unicode_escape') it works fine Il giorno venerdì 10 giugno 2022 alle 21:45:46 UTC+2 Virgilio Ravagli ha scritto: > Thank you, Antonis, it works ! > book.title = u'Verità' doesn't give any errors. > > Just another step: suppose that the title with accent