Commit Graph

74 Commits

Author SHA1 Message Date
Bradley Ayers 8d7626855e Convert to py.test. 2015-04-19 22:29:42 +10:00
Daniel Hawkins bab4637179 Added missing trove classifiers to setup.py
This metadata will show users who are interested that this package works under Python 3.  Fixes #200.
2015-02-14 00:16:06 -05:00
Bradley Ayers a8e940afc1 Fix tests and setup.py 2013-08-18 13:59:31 +10:00
Bradley Ayers 7e8fad55f0 All tests pass on Python 3.2 2013-03-28 09:20:35 +11:00
Bradley Ayers 7113cc701a Various compat changes for Python 3 2013-02-27 10:20:22 +10:00
Bradley Ayers 1e94f8d682 move test requirements from setup.py to tox.ini 2012-10-15 08:49:54 +10:00
Bradley Ayers 7a16d5a8b8 Drop support for Django 1.1 2012-09-18 16:47:34 +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 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 65230c777d Use   rather than   for {% nospaceless %} 2012-06-18 16:41:27 +10:00
Bradley Ayers 4fbba90ef3 Fix testing infrastructure. 2012-05-11 08:59:56 +10:00
Bradley Ayers 8b418447ab Made some minor tweaks after merge. 2012-05-03 10:13:33 +10:00
Pablo Martín 931f8e7c21 Ready to new release 2012-04-10 18:48:30 +02:00
Bradley Ayers a0503aa533 Fix more python 2.6.4 bugs, bump to v0.10.4 2012-04-10 11:04:56 +10:00
Bradley Ayers 25394957d5 Bump to v0.10.3 2012-04-06 07:44:13 +10:00
Bradley Ayers d4e7bd35bd Fix tests on Django 1.3.1, include example templates (fixes #66), bump to v0.10.2 2012-03-27 06:43:36 +10:00
Bradley Ayers 2e941c71e5 Polish merge and bump to v0.10.1 2012-03-26 14:24:40 +10:00
Bradley Ayers 24e580888b Require django-attest v0.2.3, adds support for Django 1.4rc2 versioning scheme 2012-03-16 11:38:00 +10:00
Bradley Ayers dfae3b229b Add column order by accessors, fixes #20 #48. Thanks thibault, skandocious, alvarovmz
Also renamed `sortable` to `orderable`.
Bump to v0.10.0
2012-03-14 11:45:54 +10:00
Bradley Ayers 258ec59c80 Fix bug in sorted column th attributes, bump to v0.9.6 2012-03-08 17:07:56 +10:00
Bradley Ayers 11b3fec168 Bump to v0.9.5 2012-03-08 15:30:00 +10:00
Bradley Ayers 1775d0fedd Update test requirements, pylint + Attest >=0.5.3 2012-03-06 10:34:36 +10:00
Bradley Ayers bde67f87f6 Fix #54 -- SafeData verbose_name are now used unmodified 2012-03-02 08:29:15 +10:00
Bradley Ayers fe73898a73 Fix regressions and bump to v0.9.3 2012-02-22 11:45:03 +10:00
Bradley Ayers 5ca2d12a00 - `SingleTableView` now uses `RequestConfig`. This fixes issues with ``order_by_field`, `page_field`, and `per_page_field` not being honored.
- Add `Table.Meta.per_page` and change `Table.paginate` to use it as default.
- Add `title` template filter. It differs from Django's built-in `title` filter because it operates on an individual word basis and leaves words containing capitals untouched. **Warning**: use `{% load ... from ... %}` to avoid inadvertantly replacing Django's builtin `title` template filter.
- `BoundColumn.verbose_name` no longer does `capfirst`, titlising is now the responsbility of `Column.header`.
- `BoundColumn.__unicode__` now uses `BoundColumn.header` rather than `BoundColumn.verbose_name`.
2012-02-22 11:02:09 +10:00
Bradley Ayers 4772ece503 Fix version in setup.py
Bump to v0.9.1
2012-02-21 11:32:54 +10:00
Bradley Ayers 1d1f420619 Removed random 'print' statements.
Tweaked 'paleblue' theme css to be more flexible
 - removed `whitespace: no-wrap`
 - header background image to support more than 2 rows of text
Bump to v0.8.4
2012-02-07 12:23:46 +10:00
Bradley Ayers 91b9df5586 Fix broken import. Bump to v0.8.3 2012-02-07 11:06:42 +10:00
Bradley Ayers 64bd2d5b05 `SingleTableView` now inherits from `ListView` which enables automatic `foo_list.html` template name resolution (thanks dramon for reporting)
`render_table` template tag no suppresses exceptions when `DEBUG=True`
Bump to v0.8.2
2012-02-07 10:49:34 +10:00
Bradley Ayers 57e068600f Upgrade to django-attest v0.2.2, rename tests/testapp to tests/app 2011-11-22 05:56:36 +10:00
Bradley Ayers 0ae3fa8690 Upgrade test requirements to django-attest v0.1.2 2011-11-16 13:17:40 +10:00
Bradley Ayers 716ba71c90 Tweak tests to work nicer with Jenkins 2011-11-14 18:08:18 +10:00
Bradley Ayers 4852e9ce97 Fixed issue #41, bumped to v0.8.1 2011-11-08 12:25:11 +10:00
Bradley Ayers dd14653f20 Bumped to v0.8.0
- Added translation support in the default template via `{% trans %}`
- Removed `basic_table.html`, `Table.as_html()` now renders `table.html` but
  will clobber the querystring of the current request. Use the `render_table`
  template tag instead
- `render_table` now supports an optional second argument -- the template to
  use when rendering the table
- `Table` now supports declaring which template to use when rendering to HTML
- Django >=1.3 is now required
- Added support for using django-haystack's `SearchQuerySet` as a data source
- The default template `table.html` now includes block tags to make it easy to
  extend to change small pieces
- Fixed table template parsing problems being hidden due to a subsequent
  exception being raised
- Http404 exceptions are no longer raised during a call to `Table.paginate()`,
  instead it now occurs when `Table.page` is accessed
- Fixed bug where a table couldn't be rendered more than once if it was
  paginated
- Accessing `Table.page` now returns a new page every time, rather than reusing
  a single object
2011-11-08 10:43:40 +10:00
Bradley Ayers d6a17e2d4c Added haystack SearchQuerySet support as a table data source (issue #40), thanks issackelly 2011-11-07 09:59:50 +10:00
Bradley Ayers 3936e118fd Fixed issue #32, bumped to v0.7.8 2011-09-30 08:57:48 +10:00
Bradley Ayers 7a4bd5ac91 Bumped to v0.7.7
Accessor now handles '' by returning the original object. i.e. Accessor('').resolve(obj) == obj
get_FOO_display() methods are now used if available -- issue #30
Made a couple of very minor code documentation changes.
2011-09-18 14:00:14 +10:00
Bradley Ayers ab16c349f2 bumped to v0.7.6 2011-09-01 16:17:07 +10:00
Bradley Ayers b0bf6583c3 Bumped to v0.7.5 2011-08-20 18:17:26 +10:00
Bradley Ayers 82966a87fd Fixed issue #23, bumped version to v0.7.4 2011-08-10 07:42:52 +10:00
Bradley Ayers db91c63c8e Fixed issue #22 2011-08-09 09:20:12 +10:00
Bradley Ayers edbab10a18 A couple of LinkColumn changes:
- correctly handles an Accessor for "current_app"
- correctly handles "default"
Bumped version to 0.7.2
2011-07-26 09:15:43 +10:00
Bradley Ayers 89474db872 bumped version to v0.7.1 2011-07-22 01:21:00 +10:00
Bradley Ayers cf0c991bd0 bumped version to v0.7.0 2011-07-17 21:13:03 +10:00
Bradley Ayers 86405697cd README more appealing (has feature list), added RequestConfig, added ability to specify querystring field names and table prefixes (issue #5) 2011-07-17 21:10:28 +10:00
Bradley Ayers f6fc4c3488 Added LICENSE and bumped to v0.6.1 2011-06-27 17:28:47 +10:00
Bradley Ayers 681e37ce3a bumped version to v0.6.0 2011-06-20 15:51:09 +10:00
Bradley Ayers 2008cf0052 renamed to django-tables2 2011-06-09 09:06:34 +10:00