python - UUID Field in django behave weired at mysql -


i have django model looks following

class cdrbybusinessflowid(models.model):         id = models.uuidfield(primary_key=true, default=uuid.uuid4, editable=false)         cc_id = models.integerfield()         business_flow_id = models.charfield(max_length=255, blank=true)         status = models.charfield(max_length=10, blank=true) 

i have created model model api response following

{   "status": "pending",   "business_flow_id": "13630f30-bfed-4e8d-bdbd-263d0da75175",   "id": "3c337f4c-3236-4117-b519-c57fbcc001f8",   "cc_id": "1610" } 

but unfortunately id doesn't exist in database.

the value modified other value 1f604e31a4054d1e998b97433cc661a5.

thanks


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -