#31730: manage.py sqlsequencereset not implemented for sqlite3
-------------------------------------+-------------------------------------
Reporter: axil | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: sql sequence reset | Triage Stage: Accepted
sqlite3 |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by axil):
> In the end I think the signature of the of the sequence_reset_sql method
should be something like (style, sequences).
Yes, it looks strange that two similar named functions have different
signatures and do very different things:
{{{
def sequence_reset_by_name_sql(self, style, sequences):
}}}
resets sequence to 1
{{{
def sequence_reset_sql(self, style, model_list):
}}}
fixes sequences to max(id)
--
Ticket URL: <https://code.djangoproject.com/ticket/31730#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.c848d6a1d40a692f025b9959be54f37e%40djangoproject.com.