Commit Graph

56 Commits

Author SHA1 Message Date
Fábio C. Barrionuevo da Luz 281da63657 fix wrong travis-cl badget configuration 2014-09-25 11:06:26 -03:00
Markus Bertheau bafce5887c Don't titlise explicitly specified verbose_name's 2014-02-14 17:05:09 +01:00
Bradley Ayers cd9891cada Release v0.15.0 2014-02-02 20:07:17 +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 3b5b360a4b Update README.rst
Add syntax highlighting to examples
2013-02-10 14:15:10 +10:00
Bradley Ayers 4432268338 Add Travis CI badge to README 2013-01-10 10:46:52 +10:00
Bradley Ayers 984fcbcb8e Remove use of deprecated StrAndUnicode base class 2013-01-09 17:12:25 +10:00
Bradley Ayers f877d791ca Update README to trigger Travis CI build 2013-01-09 17:00:48 +10:00
Bradley Ayers b6cc33a9f7 Fix tests, remove py264 testenv, update docs 2013-01-09 08:56:36 +10:00
Bradley Ayers 9570fed564 Add FileColumn 2012-09-25 21:48:24 +10:00
Bradley Ayers 6c35b4f7dc Bump version 2012-09-21 13:41:24 +10:00
Bradley Ayers 594664fdec Deprecate Attrs 2012-09-18 15:07:24 +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 dff81f6f23 Merge 0.12 and 0.13 in changelog, got ahead of myself. 2012-09-14 12:27:52 +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 cc2d2b299b RequestConfig now handles pagination errors silently by default. (relates to #68) 2012-09-12 10:07: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 be5d5906f7 Add 'value' and 'default' to TemplateColumn 2012-06-24 11:52:36 +10:00
Bradley Ayers f7372a5779 Update changelog to include fix for #83 2012-06-24 10:50:50 +10:00
Bradley Ayers 315583bec5 Column defaults are now more sensible, resolves #64 2012-06-24 10:48:41 +10:00
Bradley Ayers 8b418447ab Made some minor tweaks after merge. 2012-05-03 10:13:33 +10:00
Pablo Martín 2af02059d0 Changes in the rST to indicate literal text 2012-04-18 16:29:45 +02: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 44689e5881 Use functions rather than special methods, e.g. type(f) instead of f.__class__ 2012-03-14 11:59:59 +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 d21323e77f Remove information from README about miracle2k's version 2012-03-08 17:43:39 +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 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 71264d7e52 Update README with v0.9.1 details 2012-02-21 11:33:56 +10:00
Bradley Ayers 382d4fdaac - Add support for column attributes (see Attrs)
- Add BoundRows.items() to yield (bound_column, cell) pairs
- Tried to make docs more concise. Much stronger promotion of using RequestConfig and {% querystring %}
- Bump to v0.9.0
2012-02-21 11:30:03 +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 c4565bbd33 Remove 'print' statement, add v0.8.3 info to README. 2012-02-07 11:14:57 +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 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 f42969579d Added figure to README 2011-09-30 09:09:54 +10:00
Bradley Ayers 3936e118fd Fixed issue #32, bumped to v0.7.8 2011-09-30 08:57:48 +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 b89664f8cb .. fixed readthedocs link again 2011-06-20 16:14:40 +10:00