diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2011-08-22 02:46:59 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2011-08-22 02:46:59 +0000 |
| commit | 8560a2c08030d67e234112b6951279de205b4778 (patch) | |
| tree | c088b2588f00c0c520b02ff29ade137e30d3c1b9 /docs/ref/models | |
| parent | e3cd0e671016f535f0108d550535335e04e5230d (diff) | |
Teach inspectdb to handle SQL column names that are digits.
There's no accounting for taste in the way some people name columns,
apparently. Create a column with a name of "1" and inspectdb will still
produce valid Python code now. Fixed #16536. Thanks tereaom and
danodonovan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
0 files changed, 0 insertions, 0 deletions
