Changes between Initial Version and Version 1 of Ticket #27130, comment 10


Ignore:
Timestamp:
Jan 27, 2017, 1:14:15 AM (7 years ago)
Author:
reficul31

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27130, comment 10

    initial v1  
    11For 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.
     2Edit: This might be helpful [[https://code.djangoproject.com/ticket/20032]]
Back to Top