Skip to content

Commit

Permalink
Merge pull request #29 from daddz/django19
Browse files Browse the repository at this point in the history
Django19 support
  • Loading branch information
shymonk committed Nov 20, 2015
2 parents 24049a0 + a37b64e commit cd51609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions table/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from uuid import uuid4
from django.db.models.query import QuerySet
from django.utils.safestring import mark_safe
from django.utils.datastructures import SortedDict
from collections import OrderedDict
from .columns import Column, BoundColumn, SequenceColumn
from .widgets import SearchBox, InfoLabel, Pagination, LengthMenu, ExtButton

Expand All @@ -28,7 +28,7 @@ def rows(self):
# Binding object to each column of each row, so that
# data structure for each row is organized like this:
# { boundcol0: td, boundcol1: td, boundcol2: td }
row = SortedDict()
row = OrderedDict()
columns = [BoundColumn(obj, col) for col in self.columns if col.space]
for col in columns:
row[col] = col.html
Expand Down

0 comments on commit cd51609

Please sign in to comment.