Commit 56f33444 authored by Tom Kedem's avatar Tom Kedem

fixed python 2.6 compatibility.

parent edb542e9
...@@ -263,7 +263,7 @@ class BaseFileAdmin(BaseView, ActionsMixin): ...@@ -263,7 +263,7 @@ class BaseFileAdmin(BaseView, ActionsMixin):
default_desc = 0 default_desc = 0
"""The default desc value.""" """The default desc value."""
column_labels = {column: column.capitalize() for column in column_list} column_labels = dict((column, column.capitalize()) for column in column_list)
"""A dict from column names to their labels.""" """A dict from column names to their labels."""
date_format = '%Y-%m-%d %H:%M:%S' date_format = '%Y-%m-%d %H:%M:%S'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment