Changes between Initial Version and Version 1 of Ticket #7835, comment 40
- Timestamp:
- May 25, 2015, 12:02:59 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7835, comment 40
initial v1 1 A [https://github.com/django/django/pull/4 630/ documentation patch] has been proposed based on comment 38's approach of conditionally adding migration operations based on the database name. I don't think this approach is something we should officially recommend. I'd rather wait for a proper solution. One idea is a `@test_model` model class decorator that the migrations system respects.1 A [https://github.com/django/django/pull/4700/ documentation patch] has been proposed based on comment 38's approach of conditionally adding migration operations based on the database name. I don't think this approach is something we should officially recommend. I'd rather wait for a proper solution. One idea is a `@test_model` model class decorator that the migrations system respects.