Changes between Initial Version and Version 1 of Ticket #37365, comment 2


Ignore:
Timestamp:
Sep 22, 2026, 8:16:04 AM (3 weeks ago)
Author:
Md. Saikat Islam

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37365, comment 2

    initial v1  
    44db_column = connection.ops.quote_name("id")  ---> gives you database column name `"id"`
    55
    6 So they are not duplicate and should not raise duplicate column name error.
    7 
    8 I need suggestion here.
     6So they are not duplicate and should not raise duplicate column name error. But we have duplicate column name error in database level when we try to run migration.
     7Also django doc specifies:
     8{{{
     9... Django quotes column and table names behind the scenes.
     10}}}
     11So they are quoted before being executed.
Back to Top