#29841: Fixtures counting backward
-------------------------------------+-------------------------------------
Reporter: Victor Porton | Owner: nobody
Type: New feature | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* status: new => closed
* resolution: => invalid
Comment:
Hello there, you should be able to achieve what you're after by using
`TransactionTestCase.fixtures`, `setUp()`, and `reset_sequences`.
-
https://docs.djangoproject.com/en/stable/topics/testing/tools/#django.test.TransactionTestCase.fixtures
-
https://docs.djangoproject.com/en/stable/topics/testing/advanced/#django.test.TransactionTestCase.reset_sequences
Please refrain from using this bug tracker as a second tier support
channel. It's not because you're not getting feedback 2 days after asking
a question on Stackoverflow that the features you are looking for do not
already exist.
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#reporting-bugs-and-requesting-features Rely on a different
support channel or search trough the documentation instead].
--
Ticket URL: <https://code.djangoproject.com/ticket/29841#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.7fb8ee5a7170aeea966ca045d3cef811%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.