Show More
@@ -133,10 +133,9 b' class DisplayFormatter(Configurable):' | |||
|
133 | 133 | format_dict = {} |
|
134 | 134 | |
|
135 | 135 | for format_type, formatter in self.formatters.items(): |
|
136 | if format_type not in include: | |
|
136 | if include and format_type not in include: | |
|
137 | 137 | continue |
|
138 |
if exclude |
|
|
139 | if format_type in exclude: | |
|
138 | if exclude and format_type in exclude: | |
|
140 | 139 |
|
|
141 | 140 | try: |
|
142 | 141 | data = formatter(obj) |
General Comments 0
You need to be logged in to leave comments.
Login now