Compare commits
2 Commits
305d627cdd
...
b5d21a802d
Author | SHA1 | Date |
---|---|---|
Lauréline Guérin | b5d21a802d | |
Lauréline Guérin | bd06f2b82f |
|
@ -205,6 +205,7 @@ TimeSlot = collections.namedtuple(
|
|||
)
|
||||
|
||||
|
||||
# pylint: disable=too-many-public-methods
|
||||
class Agenda(WithSnapshotMixin, WithApplicationMixin, WithInspectMixin, models.Model):
|
||||
# mark temporarily restored snapshots
|
||||
snapshot = models.ForeignKey(
|
||||
|
|
|
@ -130,8 +130,8 @@ class InstanceWithSnapshotHistoryCompareView(DetailView):
|
|||
inspect2 = loader.render_to_string(self.inspect_template_name, get_context(instance2), self.request)
|
||||
d2 = pq(str(inspect2))
|
||||
panels_attrs = [tab.attrib for tab in d1('[role="tabpanel"]')]
|
||||
panels1 = [tab for tab in d1('[role="tabpanel"]')]
|
||||
panels2 = [tab for tab in d2('[role="tabpanel"]')]
|
||||
panels1 = list(d1('[role="tabpanel"]'))
|
||||
panels2 = list(d2('[role="tabpanel"]'))
|
||||
|
||||
# build tab list (merge version 1 and version2)
|
||||
tabs1 = d1.find('[role="tab"]')
|
||||
|
|
Loading…
Reference in New Issue