Commit Graph

96 Commits

Author SHA1 Message Date
Alasdair Nicol aef211b115 Clarify that you need to set table_pagination=False to disable pagination 2015-04-10 11:44:44 +01:00
Bradley Ayers d2ed593abe Merge remote-tracking branch 'jthurner/docs-fix-toc'
Conflicts:
	docs/index.rst
2015-03-06 07:53:56 +11:00
Andy Venet 31f4787b8d Add max_length attribute to person CharField
The tutorial as-is, because the max_length attribute for the CharField is required for validating the model in Django. I'm proposing with this change setting it to 200 characters, as it's done in other parts of the tutorial.
2015-01-05 13:17:34 -03:00
Joschka Thurner 0b46cf5435 Move doc sections into seperate files to fix toc on RTD 2014-10-15 13:54:40 +02: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
Miguel de Val-Borro d84a987a65 Swap the definition of LinkColumn and URLColumn in built-in column index 2013-10-14 18:12:09 -04:00
Bradley Ayers b6cc33a9f7 Fix tests, remove py264 testenv, update docs 2013-01-09 08:56:36 +10:00
Sławek Ehlert 8a54fa6bd7 some documentation about controlling localization 2012-12-03 19:46:42 +01:00
Bradley Ayers 1bf3c5bca3 Update docs to clarify TEMPLATE_CONTEXT_PROCESSOR requirements, resolves #105 2012-10-20 08:16:15 +10:00
Bradley Ayers 512b91ead4 Fix #102, #101 2012-09-30 12:57:36 +10:00
Bradley Ayers 9570fed564 Add FileColumn 2012-09-25 21:48:24 +10:00
Bradley Ayers 594664fdec Deprecate Attrs 2012-09-18 15:07:24 +10:00
Bradley Ayers 339c6e9d7e Start rewriting the docs 2012-09-14 23:02:34 +10:00
Bradley Ayers a1b17e5610 Add DateColumn and DateTimeColumn, resolves #84 2012-09-11 15:46:55 +10:00
Bradley Ayers 8b418447ab Made some minor tweaks after merge. 2012-05-03 10:13:33 +10:00
Pablo Martín ccfaefe90c Update the version in the doc 2012-04-20 12:22:56 +02:00
Pablo Martín 43280636a8 Merge branch 'master' of https://github.com/bradleyayers/django-tables2 2012-04-10 18:42:13 +02:00
Pablo Martín 1a96363587 Update the doc 2012-04-10 12:26:09 +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
Damien Ayers fdeec852ad Examples use render() instead of render_to_response()
Django >= 1.3 is required now, so can use the nicer shortcuts.
2012-03-16 13:25:29 +10:00
Damien Ayers f181e897d8 Fix docs for pagination using RequestConfig 2012-03-16 11:03:45 +10:00
Bradley Ayers c97bf49c30 Add github + pypi links in documentation 2012-03-14 15:45:28 +10:00
Bradley Ayers 27824efa43 Fix documentation bug, thanks Damien Ayers. 2012-03-14 15:40:00 +10:00
Bradley Ayers 81757543c5 Update docs on column ordering. 2012-03-14 12:00:19 +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 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 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 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 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 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
David Fischer 099ad8228a Fix for #25 - sorting across types 2011-08-30 21:57:24 -07: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 a695eae215 Merge branch 'master' into development 2011-08-09 09:21:36 +10:00
Bradley Ayers db91c63c8e Fixed issue #22 2011-08-09 09:20:12 +10:00
Michael Elsdörfer 6d69f49801 Documentation: Added upgrade instructions from django-tables. 2011-08-02 13:12:58 +02:00