#7835: Provide the ability for model definitions that are only availably during testing -------------------------------------+------------------------------------ Reporter: Russell Keith-Magee | Owner: nobody Type: New feature | Status: new Component: Testing framework | Version: dev Severity: Normal | Resolution: Keywords: feature test models | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------
Comment (by HarryKane): Replying to [comment:46 Simon Charette]: > Keep in mind that if your test models reference models from an application with migrations you'll also need to manually create migrations for these tests models but once that's done you should be good to go. Could you elaborate on how to manually create the migration for the test model? -- Ticket URL: <https://code.djangoproject.com/ticket/7835#comment:53> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018a83d7f942-454b57a5-d4a7-49b5-b999-88f4aa9c56ab-000000%40eu-central-1.amazonses.com.