Changes between Initial Version and Version 1 of Ticket #21381, comment 2
- Timestamp:
- Mar 21, 2018, 7:24:44 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21381, comment 2
initial v1 1 1 Here's a pull request: https://github.com/django/django/pull/1885 2 2 3 Unfortunately, it's hard to add tests. The `django_redirect` table is initially created with a ` `site_id`` column, which doesn't allow testing the feature this patch is adding.3 Unfortunately, it's hard to add tests. The `django_redirect` table is initially created with a `site_id` column, which doesn't allow testing the feature this patch is adding. 4 4 5 5 The least awful idea I have is to disable sites, monkey-patch `Site._meta.db_table`, call syncdb to create the new table, and test with that.