[Django] #36039: Add command for Fetching all table names and columns

21 views
Skip to first unread message

Django

unread,
Dec 25, 2024, 9:16:26 AM12/25/24
to django-...@googlegroups.com
#36039: Add command for Fetching all table names and columns
-------------------------------------+-------------------------------------
Reporter: arian24b | Type: New
| feature
Status: new | Component: Core
| (Management commands)
Version: 5.1 | Severity: Normal
Keywords: manage.py,command | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Fetch, Prints and saves all table names and columns from all apps.
--
Ticket URL: <https://code.djangoproject.com/ticket/36039>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 25, 2024, 9:16:31 AM12/25/24
to django-...@googlegroups.com
#36039: Add command for Fetching all table names and columns
-------------------------------------+-------------------------------------
Reporter: arian24b | Owner: (none)
Type: New feature | Status: new
Component: Core (Management | Version: 5.1
commands) |
Severity: Normal | Resolution:
Keywords: manage.py,command | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by arian24b):

* Attachment "export_table_info.py" added.

Django

unread,
Dec 25, 2024, 10:53:33 AM12/25/24
to django-...@googlegroups.com
#36039: Add command for Fetching all table names and columns
-------------------------------------+-------------------------------------
Reporter: Arian Omrani | Owner: Hana
| Belay
Type: New feature | Status: assigned
Component: Core (Management | Version: 5.1
commands) |
Severity: Normal | Resolution:
Keywords: manage.py,command | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Hana Belay):

* owner: (none) => Hana Belay
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36039#comment:1>

Django

unread,
Dec 25, 2024, 11:16:52 AM12/25/24
to django-...@googlegroups.com
#36039: Add command for Fetching all table names and columns
-------------------------------------+-------------------------------------
Reporter: Arian Omrani | Owner: Hana
| Belay
Type: New feature | Status: assigned
Component: Core (Management | Version: 5.1
commands) |
Severity: Normal | Resolution:
Keywords: manage.py,command | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Hana Belay):

Hi, I hope you are well. This is my first time trying to contribute to
Django. I was checking this ticket and found the attached source code for
the feature. Do we want to follow that strictly? I was wondering why it is
using raw SQL queries instead of Django's ORM to fetch model metadata (?)
Also, why not use a JSON file to store the output instead of plain text? I
would love to hear your feedback. Thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/36039#comment:2>

Django

unread,
Dec 25, 2024, 11:49:19 AM12/25/24
to django-...@googlegroups.com
#36039: Add command for Fetching all table names and columns
-------------------------------------+-------------------------------------
Reporter: Arian Omrani | Owner: Hana
| Belay
Type: New feature | Status: closed
Component: Core (Management | Version: 5.1
commands) |
Severity: Normal | Resolution: wontfix
Keywords: manage.py,command | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* resolution: => wontfix
* status: assigned => closed

Comment:

Thanks for the suggestion. Generally, feature requests should be made on
the [https://forum.djangoproject.com/c/internals/5 Django forum] to get a
consensus about whether or not to include them. I'm afraid this command is
likely too niche to be included. It's not clear why this command would be
a common need for developers.
--
Ticket URL: <https://code.djangoproject.com/ticket/36039#comment:3>

Django

unread,
Dec 25, 2024, 11:53:37 AM12/25/24
to django-...@googlegroups.com
#36039: Add command for Fetching all table names and columns
-------------------------------------+-------------------------------------
Reporter: Arian Omrani | Owner: Hana
| Belay
Type: New feature | Status: closed
Component: Core (Management | Version: 5.1
commands) |
Severity: Normal | Resolution: wontfix
Keywords: manage.py,command | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Hana Belay):

Ok, thanks. I just realized that I didn't pay attention to the triage
stage. I thought it was an accepted ticket that needed to be worked on.
--
Ticket URL: <https://code.djangoproject.com/ticket/36039#comment:4>
Reply all
Reply to author
Forward
0 new messages