Changes between Initial Version and Version 1 of Ticket #24865, comment 2
- Timestamp:
- Jun 3, 2015, 12:59:44 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24865, comment 2
initial v1 4 4 I've looked the specs over and I'm not sure this warrants a test. The current Django tests for `update_contenttypes` already test for interactive. All this change does is automatically respond to it's prompt in the very same way the `test_interactive_true` does. 5 5 6 ```` 6 {{{ 7 7 def test_interactive_true(self): 8 8 """ … … 15 15 self.assertIn("Deleting stale content type", stdout.getvalue()) 16 16 self.assertEqual(ContentType.objects.count(), self.before_count) 17 ```` 17 }}} 18 18 19 As for documentation I was considering placing it in the contenttypes.txt and adding a Management section to describe the `force_remove` argument and `remove_contenttypes` method. If that's an inappropriate place, please make a recommendation. Thanks again.