Changes between Initial Version and Version 1 of Ticket #27130, comment 10
- Timestamp:
- Jan 27, 2017, 1:14:15 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27130, comment 10
initial v1 1 1 For testing the code, is it possible to add a method to @override.settings that removes all the settings so that the test case can run without them? Or another solution can be to individually override each setting used by the template tag and set it to NULL and test. Eg. The time filter uses settings.TIME_FORMAT to get the time in the required format. It might be possible to set @setting.override(TIME_FORMAT=NULL) or something similar. 2 Edit: This might be helpful [[https://code.djangoproject.com/ticket/20032]]