Bradley Ayers
31743f19a2
Merge pull request #245 from mvantellingen/feature/fix-django-1.8-issue
...
Handle retrieving field.verbose_name in a Django 1.8 compat way
2015-05-10 09:08:16 +10:00
Bradley Ayers
2bb4a0c54e
#246 Make the test for declaractively specified templates more robust.
2015-05-10 08:43:55 +10:00
Michael van Tellingen
5792fb93ea
Handle retrieving field.verbose_name in a Django 1.8 compat way
...
If a field is a ManyToOneRel instance then retrieve the verbose_name of
the related field.
2015-04-30 12:36:43 +02:00
Bradley Ayers
5732cefcf3
Fix broken tests.
2015-04-20 03:51:26 +10:00
Bradley Ayers
8d7626855e
Convert to py.test.
2015-04-19 22:29:42 +10:00
Bradley Ayers
d95f4c1e00
Fix a bug in the way datetimecolumn tests setup timezone aware datetimes.
2015-04-18 09:42:01 +10:00
Bradley Ayers
006cc878ce
Merge pull request #165 from ionelmc/master
...
Fix "silent" error handling in the TableData.__init__
2014-03-08 10:35:35 +11:00
Markus Bertheau
bafce5887c
Don't titlise explicitly specified verbose_name's
2014-02-14 17:05:09 +01:00
Bradley Ayers
86056eedeb
Add support for computed values.
2014-02-02 20:06:59 +11:00
Bradley Ayers
2bf273a350
Fix #178 -- using unicode in `fields` option.
2013-12-14 12:11:45 +11:00
Ionel Cristian Mărieș
a4eecf646e
Replace the exception dance with light input validation.
2013-08-28 14:38:53 +03:00
Bradley Ayers
a8e940afc1
Fix tests and setup.py
2013-08-18 13:59:31 +10:00
Bradley Ayers
329dcfbb81
Remove need for SKIP_HAYSTACK env variable, to help Travis
2013-03-29 21:44:16 +11:00
Bradley Ayers
bf0ef5b311
Fix for Python 3.3
2013-03-29 21:13:37 +11:00
Bradley Ayers
c9f3b9ac2a
Fix tests for Python 2
2013-03-28 20:49:54 +11:00
Bradley Ayers
7e8fad55f0
All tests pass on Python 3.2
2013-03-28 09:20:35 +11:00
Bradley Ayers
5dce40758f
Handle L10N column support in Django 1.2
2013-03-24 05:18:55 +11:00
Bradley Ayers
c739dc53f4
Remove cell_l10n.html
2013-02-28 03:22:44 +10:00
Bradley Ayers
b300b7a25a
Fix regression for Python 2
2013-02-28 03:22:29 +10:00
Bradley Ayers
7113cc701a
Various compat changes for Python 3
2013-02-27 10:20:22 +10:00
Bradley Ayers
df94ac6da0
Remove override_settings, use django_attest.settings instead
2013-01-09 20:12:09 +10:00
Bradley Ayers
de151bc8f0
Add test for querystring tag requiring request
2013-01-09 20:06:12 +10:00
Bradley Ayers
b6cc33a9f7
Fix tests, remove py264 testenv, update docs
2013-01-09 08:56:36 +10:00
Sławek Ehlert
83d03fe901
support for localize in Table Meta class
...
with localize/unlocalize tuples
2012-12-03 19:30:06 +01:00
Sławek Ehlert
19ea775c97
some clarification
2012-12-03 18:36:33 +01:00
Sławek Ehlert
e456281cdb
support for localize in columns
...
The reason for cell_l10n.html is backwards compatibility with Django 1.2.
This template is included in the default `table.html` template
and this way we avoid errors of not finding the `l10n` tag library
2012-12-03 08:51:20 +01:00
Bradley Ayers
512b91ead4
Fix #102 , #101
2012-09-30 12:57:36 +10:00
Bradley Ayers
3c602a803b
Fix tests on Django 1.2
2012-09-25 23:04:24 +10:00
Bradley Ayers
0d36f686a3
Fix tests on Django < 1.4
2012-09-25 22:29:27 +10:00
Bradley Ayers
9570fed564
Add FileColumn
2012-09-25 21:48:24 +10:00
Bradley Ayers
95f706bf13
When resolving an accessor, *all* exceptions are smothered into None, resolves #98
2012-09-21 12:54:01 +10:00
Bradley Ayers
8571198769
More Python 2.6.4 fixes
2012-09-18 16:31:25 +10:00
Bradley Ayers
594664fdec
Deprecate Attrs
2012-09-18 15:07:24 +10:00
Bradley Ayers
0df5c4d50f
Add support for Django 1.2 (though 1.1 *might* work)
2012-09-18 15:02:15 +10:00
Bradley Ayers
9effe9efe8
Add cardinality to the pagination display, resolves #94
2012-09-15 08:53:59 +10:00
Bradley Ayers
52cabdf4b5
Add BooleanColumn, tests, and the column library
2012-09-14 22:55:14 +10:00
Bradley Ayers
3ed0c77a46
Fix bug with table data ordering
2012-09-14 12:22:00 +10:00
Bradley Ayers
7836c98231
Column classes are chosen intelligently when building a table based on a model, resolves #91
2012-09-14 12:21:59 +10:00
Bradley Ayers
9f02cff1ec
{% render_table %} now supports queryset data directly, resolves #62 .
2012-09-14 12:21:54 +10:00
Bradley Ayers
5999ad9121
Silent pagination errors are now handled in RequestConfig, Table.paginate raises paginator exceptions. Resolves #68
2012-09-12 09:59:12 +10:00
Bradley Ayers
a1b17e5610
Add DateColumn and DateTimeColumn, resolves #84
2012-09-11 15:46:55 +10:00
Bradley Ayers
3fff8c7172
Reduce the number of queries made when rendering a table, resolves #87
2012-09-11 10:36:16 +10:00
Bradley Ayers
175ab533ae
Refactor code a little, fix pylint complaints
2012-09-11 10:36:03 +10:00
Bradley Ayers
39aa9fa183
Remove obsolete test
2012-07-13 10:08:33 +10:00
Bradley Ayers
0a2fdce275
Tables now try to determine queryset ordering automatically. Resolves #77
2012-07-12 11:47:52 +10:00
Bradley Ayers
3bd5dac919
Make utils.segment handle prefixed aliases
2012-07-12 10:01:40 +10:00
Bradley Ayers
724c1d5f33
Add tests for column ordering from queryset
2012-07-11 09:07:47 +10:00
Bradley Ayers
a0d2165fd3
Add "without" keyword to queryset template tag
2012-07-10 12:34:19 +10:00
Bradley Ayers
50361357f7
Add 'segment' function to translate flat ordering to column names
2012-07-05 10:12:05 +10:00
Bradley Ayers
4f7b2406d4
Fix tests on Python 2.6
2012-06-26 10:36:09 +10:00