Re: [Django] #13295: Add a Meta.sequence option to models

18 views
Skip to first unread message

Django

unread,
Jul 11, 2011, 4:00:20 AM7/11/11
to django-...@googlegroups.com
#13295: Add a Meta.sequence option to models
-------------------------------------+-------------------------------------
Reporter: smglab | Owner: nobody
Type: New | Status: new
feature | Component: Database layer
Milestone: | (models, ORM)
Version: 1.1 | Severity: Normal
Resolution: | Keywords: sequence last_id
Triage Stage: Accepted | postgresql
Needs documentation: 1 | Has patch: 1
Patch needs improvement: 1 | Needs tests: 1
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

* ui_ux: => 0
* easy: => 0


Comment:

See also #16448.

--
Ticket URL: <https://code.djangoproject.com/ticket/13295#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 9, 2017, 2:19:53 PM2/9/17
to django-...@googlegroups.com
#13295: Add a Meta.sequence option to models
-------------------------------------+-------------------------------------
Reporter: Max Shabalihin | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: 1.1
(models, ORM) |

Severity: Normal | Resolution:
Keywords: sequence last_id | Triage Stage: Accepted
postgresql |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Jadson Ribeiro):

I wonder if there is already a solution after so many years for this
problem?

--
Ticket URL: <https://code.djangoproject.com/ticket/13295#comment:9>

Django

unread,
Mar 7, 2020, 11:10:22 PM3/7/20
to django-...@googlegroups.com
#13295: Add a Meta.sequence option to models
-------------------------------------+-------------------------------------
Reporter: Max Shabalihin | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: 1.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: sequence last_id | Triage Stage: Accepted
postgresql |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Matti Haavikko):

* cc: Matti Haavikko (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/13295#comment:10>

Django

unread,
Apr 14, 2022, 4:32:04 PM4/14/22
to django-...@googlegroups.com
#13295: Add a Meta.sequence option to models
-------------------------------------+-------------------------------------
Reporter: Max Shabalihin | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: 1.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: sequence last_id | Triage Stage: Accepted
postgresql |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

Should this be closed now that #30511 was merged?

--
Ticket URL: <https://code.djangoproject.com/ticket/13295#comment:11>

Django

unread,
Apr 15, 2022, 12:22:20 AM4/15/22
to django-...@googlegroups.com
#13295: Add a Meta.sequence option to models
-------------------------------------+-------------------------------------
Reporter: Max Shabalihin | Owner: nobody
Type: New feature | Status: closed

Component: Database layer | Version: 1.1
(models, ORM) |
Severity: Normal | Resolution: wontfix

Keywords: sequence last_id | Triage Stage:
postgresql | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* needs_better_patch: 1 => 0
* needs_tests: 1 => 0
* needs_docs: 1 => 0
* has_patch: 1 => 0
* resolution: => wontfix
* stage: Accepted => Unreviewed


Comment:

Replying to [comment:11 Claude Paroz]:


> Should this be closed now that #30511 was merged?

There are still scenarios that could be covered by `Meta.sequence`, e.g.
common sequence for multiple tables. However, since we are using identity
columns on PostgreSQL and Oracle it becomes much more complicated or even
not feasible. I don't think there is a way to move it forward. Closing as
"wontfix".

--
Ticket URL: <https://code.djangoproject.com/ticket/13295#comment:12>

Reply all
Reply to author
Forward
0 new messages