projects
/
django-tables2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2deef44
)
This comment wasn't really correct anymore, must have been accidentally copied from...
author
Michael Elsdoerfer
<michael@elsdoerfer.com>
Fri, 28 May 2010 07:40:45 +0000
(09:40 +0200)
committer
Michael Elsdoerfer
<michael@elsdoerfer.com>
Fri, 28 May 2010 07:40:45 +0000
(09:40 +0200)
django_tables/memory.py
patch
|
blob
|
history
diff --git
a/django_tables/memory.py
b/django_tables/memory.py
index 35ccac61c9b8ab3497ccb8ba1c342579f5e28cf6..40d147cc6d71bfc33fcfc6d9cf63b233e7830cc7 100644
(file)
--- a/
django_tables/memory.py
+++ b/
django_tables/memory.py
@@
-29,9
+29,9
@@
def sort_table(data, order_by):
class MemoryTable(BaseTable):
-
- # This is a separate class from BaseTable in order to abstract the way
- # self.columns is specified.
+ """Table that is based on an in-memory dataset (a list of dict-like
+ objects).
+ """
def _build_snapshot(self):
"""Rebuilds the table whenever it's options change.