Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2040 closed task (duplicate)

[patch] Refactoring: "_get_sql_field_def" extracted from "_get_sql_model_create"

Reported by: ilias lazaridis <ilias@…> Owned by: Adrian Holovaty
Component: Database layer (models, ORM) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


This patch adds the function "_get_sql_field_def", which returns the sql definition for a table column (field).

The patch does not break any existent behaviour (_get_sql_model_create remained unmodified)

The patch is part of the Django Audit

Attachments (1)

_get_sql_field_def.diff (2.8 KB) - added by ilias lazaridis <ilias@…> 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by ilias lazaridis <ilias@…>

Attachment: _get_sql_field_def.diff added

comment:1 Changed 12 years ago by Adrian Holovaty

What's the goal of this patch?

comment:2 Changed 12 years ago by Adrian Holovaty

Resolution: duplicate
Status: newclosed

Superceded by #2042.

Note: See TracTickets for help on using tickets.
Back to Top