Unique index can be empty, for the primary key index is not empty based on the unique index
No need to add on the template ()
models.tb_name.objects.raw(sql语句)
strftime ( "% Y-% m", creat_time) database Method: Time Conversion
Unique index can be empty, for the primary key index is not empty based on the unique index
No need to add on the template ()
models.tb_name.objects.raw(sql语句)
strftime ( "% Y-% m", creat_time) database Method: Time Conversion