On 14/06/2022 11:20 pm, Ryan Nowakowski wrote:
Summing the ordinal of the characters won't catch transposition:
>>> chars = 'ab'
>>> sum([ord(c) for c in chars])
195
>>> chars = 'ba'
>>> sum([ord(c) for c in chars])
195
Better to use a real hash algorithm if you're trying to detect
changes.
Hi,
I am looking for someone to help me upload images to save on a drive that
are on photologue i have no idea how to use it.
--
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, se
On 14/06/2022 18.03, Mahesh Ghule wrote:
how to create image icon api ..please support me
This is a good place to start:
https://www.propublica.org/nerds/how-to-ask-programming-questions
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Grou
This is a good primer on bytes vs strings:
https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
On June 14, 2022 2:43:54 AM CDT, Antonis Christofides
wrote:
>Exactly. The important t
Hello,
You can create a new validator where domains are validate and insert it as
second validator.
Regards
Sencer Hamarat schrieb am Di., 14. Juni 2022,
15:16:
> Hi,
>
> Say, I have an email field in a model and need to add an email validator
> for email domain validation.
> For this, allowli
On 6/12/22 11:40 PM, Mike Dewhirst wrote:
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:
> O
Hi,
Say, I have an email field in a model and need to add an email validator
for email domain validation.
For this, allowlist property needs to be append to email validator like:
email = models.EmailField(
validators=[
EmailValidator(allowlist=['example1.com', 'example2.com',...])
On 14/06/2022 08.06, Abhinandan K wrote:
hello every one i'm trying to create a python instagram bot to upload
posts..
That's great but how is this related to Django?
Maybe you should consider finding another place for all your questions
as none of them really fit here.
Before doing that
Exactly. The important thing to remember here is that, in Python 2, a "string"
is actually a list of bytes, whereas a "unicode string" is actually a list of
characters (not a list of unicode characters—just a list of characters). The
confusion arises because, when Python was created, i.e. in 199
9 matches
Mail list logo