Commit Graph

16 Commits

Author SHA1 Message Date
Bradley Ayers 65117bfcc4 Add README for example project 2013-12-16 01:43:42 +11:00
Kálmán Viktor b2d3522837 the example app supports Django 1.6 2013-12-07 23:10:04 +01:00
Bradley Ayers 9570fed564 Add FileColumn 2012-09-25 21:48:24 +10:00
Bradley Ayers 9effe9efe8 Add cardinality to the pagination display, resolves #94 2012-09-15 08:53:59 +10:00
Bradley Ayers 38bfda136d Update the example app 2012-09-14 23:02:43 +10:00
Bradley Ayers b3af753061 Cleanup various coding problems. 2012-09-14 12:25:11 +10:00
Bradley Ayers 9f02cff1ec {% render_table %} now supports queryset data directly, resolves #62. 2012-09-14 12:21:54 +10:00
Bradley Ayers 175ab533ae Refactor code a little, fix pylint complaints 2012-09-11 10:36:03 +10:00
Bradley Ayers cc5b541d60 Update example project with colspan on footer cell. 2012-03-08 15:22:06 +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
Philipp Wollermann 0bdde4b092 Fix source-code encoding specifiers (PEP-263) 2011-08-17 07:58:04 +09: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 20cfecc7a5 "example" project's manage.py is now executable. fixed the static media directory. added example database to gitignore. Thanks slafs! 2011-07-10 17:01:30 +10:00
Bradley Ayers 2008cf0052 renamed to django-tables2 2011-06-09 09:06:34 +10:00
Bradley Ayers 37eda2e661 * Table's __unicode__ method no longer returns as_html()
* Added the ability to automatically generate columns based on a model via the Meta.model option (see docs). Resolves #2.
* Added some documentation describing how table mixins work.
2011-06-07 21:41:27 +10:00
Bradley Ayers 7c82e63873 * Added example project to demonstrate usage.
* {% render_table %} now raises an exception if a RequestContext 'request' isn't in the template context.
* Added better documentation in the "Slow Start Guide" about pagination and ordering
* Fixed some styling issues with the paleblue theme
* Added instructions on how to build the docs when using a virtualenv
* bumped version to v0.4.1
2011-05-12 07:05:03 +10:00