django-tables2.git
13 years ago* Updated documentation v0.4.0.beta2
Bradley Ayers [Sun, 3 Apr 2011 23:09:26 +0000 (09:09 +1000)]
* Updated documentation
* Renamed Columns to BoundColumns, and Rows to BoundRows
* Added some Accessor tests

13 years ago* Fixed CheckBoxColumn.
Bradley Ayers [Fri, 1 Apr 2011 07:50:56 +0000 (17:50 +1000)]
* Fixed CheckBoxColumn.
* Fixed rendering of column headers. SafeData is now honored.
* Added LinkColumn.

13 years ago* Ordering now works properly.
Bradley Ayers [Thu, 31 Mar 2011 23:10:15 +0000 (09:10 +1000)]
* Ordering now works properly.
* Updated documentation with information about OrderByTuple and OrderBy.
* Bumped version to v0.4.0.beta
* Updated paleblue theme with ordering icons.

13 years ago* Fixed the paleblue theme CSS
Bradley Ayers [Fri, 25 Mar 2011 03:31:15 +0000 (13:31 +1000)]
* Fixed the paleblue theme CSS

13 years agofixed missing include in MANIFEST.in
Bradley Ayers [Fri, 25 Mar 2011 02:59:32 +0000 (12:59 +1000)]
fixed missing include in MANIFEST.in

13 years agobumped version
Bradley Ayers [Fri, 25 Mar 2011 02:50:13 +0000 (12:50 +1000)]
bumped version

13 years agoadded 'attrs' field on Table.Meta, updated documentation, added a paleblue theme.
Bradley Ayers [Fri, 25 Mar 2011 02:49:41 +0000 (12:49 +1000)]
added 'attrs' field on Table.Meta, updated documentation, added a paleblue theme.

13 years agoFixed wrong dependency name in setup.py
Bradley Ayers [Thu, 24 Mar 2011 03:12:57 +0000 (13:12 +1000)]
Fixed wrong dependency name in setup.py

13 years ago* Moved tests out of the app, and integrated them with setup.py
Bradley Ayers [Thu, 24 Mar 2011 03:07:49 +0000 (13:07 +1000)]
* Moved tests out of the app, and integrated them with setup.py
* Added more tests for QuerySet data sources
* Clarified documentation
* Renamed BoundRow.data to BoundRow.record

13 years ago* Fixed bug in conf.py, where it was trying to use the old VERSION variable in django...
Bradley Ayers [Tue, 22 Mar 2011 23:15:07 +0000 (09:15 +1000)]
* Fixed bug in conf.py, where it was trying to use the old VERSION variable in django_tables.
* Updated the documentation to clarify the use-cases for column formatters.

13 years agosimplified setup.py
Bradley Ayers [Mon, 21 Mar 2011 06:30:59 +0000 (16:30 +1000)]
simplified setup.py

13 years agousing QuerySets actually works now, added a relevant test that now uses django-attest
Bradley Ayers [Sun, 27 Feb 2011 13:45:20 +0000 (23:45 +1000)]
using QuerySets actually works now, added a relevant test that now uses django-attest

13 years agoadded a test to reveal problem with using querysets as data sources
Bradley Ayers [Fri, 25 Feb 2011 07:36:14 +0000 (17:36 +1000)]
added a test to reveal problem with using querysets as data sources

13 years agoremoved copyright
Bradley Ayers [Thu, 24 Feb 2011 17:03:50 +0000 (03:03 +1000)]
removed copyright

13 years agoupped version to 0.4.0 alpha 1
Bradley Ayers [Thu, 24 Feb 2011 17:01:36 +0000 (03:01 +1000)]
upped version to 0.4.0 alpha 1

13 years agofixed up a lot of shitty documentation, and fixed some bugs while I was at it.
Bradley Ayers [Thu, 24 Feb 2011 16:54:02 +0000 (02:54 +1000)]
fixed up a lot of shitty documentation, and fixed some bugs while I was at it.

13 years agoupdated docs
Bradley Ayers [Wed, 23 Feb 2011 07:33:22 +0000 (17:33 +1000)]
updated docs

13 years agofixed some bugs
Bradley Ayers [Tue, 22 Feb 2011 09:12:27 +0000 (19:12 +1000)]
fixed some bugs

13 years agoupdated README
Bradley Ayers [Fri, 4 Feb 2011 02:40:42 +0000 (12:40 +1000)]
updated README

13 years agoupdated README.rst
Bradley Ayers [Fri, 4 Feb 2011 02:38:40 +0000 (12:38 +1000)]
updated README.rst

13 years agoAdded README, removed komodo project files
Bradley Ayers [Fri, 4 Feb 2011 02:37:48 +0000 (12:37 +1000)]
Added README, removed komodo project files

13 years agolots of major changes
Bradley Ayers [Fri, 4 Feb 2011 02:28:44 +0000 (12:28 +1000)]
lots of major changes

13 years agoSetup development version number.
Michael Elsdoerfer [Fri, 26 Nov 2010 12:16:14 +0000 (13:16 +0100)]
Setup development version number.

13 years agoNow that the files lack a BOM, some need a coding declaration. 0.2.1 0.3
Michael Elsdoerfer [Fri, 26 Nov 2010 12:15:14 +0000 (13:15 +0100)]
Now that the files lack a BOM, some need a coding declaration.

13 years agoPrepare to fix a new version.
Michael Elsdoerfer [Fri, 26 Nov 2010 12:12:26 +0000 (13:12 +0100)]
Prepare to fix a new version.

13 years agoMerge remote branch 'jweyrich/master'
Michael Elsdoerfer [Mon, 22 Nov 2010 15:01:00 +0000 (16:01 +0100)]
Merge remote branch 'jweyrich/master'

13 years agoMake sure the models.py file, which we need to be loaded by Django as an
Michael Elsdoerfer [Mon, 22 Nov 2010 12:23:35 +0000 (13:23 +0100)]
Make sure the models.py file, which we need to be loaded by Django as an
app, is not empty. Apparently this causes rpmlint to complain when
packaging for Fedora.

13 years agoConvert files to UNIX EOL and remove BOM.
Jardel Weyrich [Mon, 22 Nov 2010 07:47:46 +0000 (05:47 -0200)]
Convert files to UNIX EOL and remove BOM.
Please, add these lines to your ~/.gitconfig file:
    [core]
        autocrlf = input
Or alternatively run:
    git config --global core.autocrlf input

13 years agoFixed some problems with Harro's test.
Michael Elsdörfer [Wed, 13 Oct 2010 16:56:48 +0000 (18:56 +0200)]
Fixed some problems with Harro's test.

13 years agoAdded verbose_name to columns from a model.
Harro van der Klauw [Tue, 12 Oct 2010 09:15:56 +0000 (11:15 +0200)]
Added verbose_name to columns from a model.

13 years agoFixed a NameError. This potentially closes issue 5.
Michael Elsdoerfer [Tue, 24 Aug 2010 22:46:11 +0000 (00:46 +0200)]
Fixed a NameError. This potentially closes issue 5.

13 years agoConvert a bunch of files to use *nix line endings.
Michael Elsdoerfer [Tue, 24 Aug 2010 22:27:08 +0000 (00:27 +0200)]
Convert a bunch of files to use *nix line endings.

13 years agoIgnore build directory created by distutils.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:33:04 +0000 (00:33 +0200)]
Ignore build directory created by distutils.

13 years agoMake setup.py executable.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:32:37 +0000 (00:32 +0200)]
Make setup.py executable.

13 years agoAfter release, set version to 0.3 dev.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:32:11 +0000 (00:32 +0200)]
After release, set version to 0.3 dev.

13 years agoPrepare a 0.2 release. 0.2
Michael Elsdoerfer [Fri, 20 Aug 2010 22:27:00 +0000 (00:27 +0200)]
Prepare a 0.2 release.

13 years agoConverted to *nix linebreaks.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:25:47 +0000 (00:25 +0200)]
Converted to *nix linebreaks.

13 years agoAdded a test for Harro's columns= sorting change.
Michael Elsdoerfer [Wed, 21 Jul 2010 12:18:46 +0000 (14:18 +0200)]
Added a test for Harro's columns= sorting change.

13 years agoFor a ModelTable you can use the columns meta option to indicate the column order.
Harro van der Klauw [Wed, 21 Jul 2010 07:01:12 +0000 (09:01 +0200)]
For a ModelTable you can use the columns meta option to indicate the column order.

13 years agoDefine the version number properly inside the module, read within setup.py.
Michael Elsdoerfer [Tue, 1 Jun 2010 16:23:47 +0000 (18:23 +0200)]
Define the version number properly inside the module, read within setup.py.

13 years agoMinor formatting fix in docs.
Michael Elsdoerfer [Tue, 1 Jun 2010 16:12:38 +0000 (18:12 +0200)]
Minor formatting fix in docs.

13 years agoAdded documentation for the new "render_COLUMN" methods.
Michael Elsdoerfer [Tue, 1 Jun 2010 16:09:21 +0000 (18:09 +0200)]
Added documentation for the new "render_COLUMN" methods.

13 years agoNo longer allow the Column's 'data' argument to be callable. This was tedious to...
Michael Elsdoerfer [Tue, 1 Jun 2010 15:28:35 +0000 (17:28 +0200)]
No longer allow the Column's 'data' argument to be callable. This was tedious to use anyway, and only made the declared_name/name/data thing more confusing that it already is. Instead, it is now possible to define render_FOO methods within the table.

Also, these render methods will receive no the BoundRow as an argument, but rather the actual underlining data row. This makes much more sense, and prevents users from having to fall back to the undocument ``BoundRow.data`` attribute to avoid infinite recursion.

13 years agoThis comment wasn't really correct anymore, must have been accidentally copied from...
Michael Elsdoerfer [Fri, 28 May 2010 07:40:45 +0000 (09:40 +0200)]
This comment wasn't really correct anymore, must have been accidentally copied from the old "Table" class.

13 years agoAllow non-basestrings (e.g: ugettext_lazy) to be used in verbose_name.
Jardel Weyrich [Thu, 27 May 2010 13:31:43 +0000 (10:31 -0300)]
Allow non-basestrings (e.g: ugettext_lazy) to be used in verbose_name.

13 years agoFixed the ModelTable docstring. Thanks philotas. Closes #2.
Michael Elsdoerfer [Tue, 18 May 2010 20:32:22 +0000 (22:32 +0200)]
Fixed the ModelTable docstring. Thanks philotas. Closes #2.

14 years agobugfix: ModelTableOptions() should call TableOptions.__init__
adammck [Fri, 16 Apr 2010 03:36:15 +0000 (23:36 -0400)]
bugfix: ModelTableOptions() should call TableOptions.__init__

any options specified in the Meta of a ModelTable were not being
passed along to the constructor of TableOptions. this wasn't noticed
before, but now that order_by is an option of TableBase, it became
obvious.

14 years agoFixed 80a61's tests failures, mostly be removing the offending tests (the BaseTable...
Michael Elsdoerfer [Wed, 21 Apr 2010 07:14:04 +0000 (09:14 +0200)]
Fixed 80a61's tests failures, mostly be removing the offending tests (the BaseTable shouldn't support sorting).

14 years agoadded default 'order_by' option to tables.
adammck [Fri, 16 Apr 2010 03:17:22 +0000 (23:17 -0400)]
added default 'order_by' option to tables.

this allows tables to specify a default sort order, which includes all
of the UI of an explicitly-sorted dataset.

also, some tests. they fail for BaseTable, because sorting doesn't seem
to be implemented there. it should be, though, despite being crazy.

14 years agoAdded a __len__ method to the columns container.
Michael Elsdoerfer [Tue, 6 Apr 2010 13:18:00 +0000 (15:18 +0200)]
Added a __len__ method to the columns container.

14 years agoNoted another random idea.
Michael Elsdoerfer [Fri, 26 Mar 2010 11:55:22 +0000 (12:55 +0100)]
Noted another random idea.

14 years agoConverted the readme file to a Sphinx documentation; some minor refactoring along...
Michael Elsdoerfer [Fri, 26 Mar 2010 11:55:07 +0000 (12:55 +0100)]
Converted the readme file to a Sphinx documentation; some minor refactoring along the lines.

14 years agoTODOs.
Michael Elsdoerfer [Fri, 26 Mar 2010 08:45:02 +0000 (09:45 +0100)]
TODOs.

14 years agoDon't insist on a specific WingIDE project file name, ignore all.
Michael Elsdoerfer [Fri, 26 Mar 2010 08:44:47 +0000 (09:44 +0100)]
Don't insist on a specific WingIDE project file name, ignore all.

14 years agoUpdated ignores for git.
Michael Elsdoerfer [Fri, 26 Mar 2010 07:36:37 +0000 (08:36 +0100)]
Updated ignores for git.

14 years agoMake it clearer that those are primarily the requirements needed to develop on django...
Michael Elsdoerfer [Fri, 26 Mar 2010 07:35:53 +0000 (08:35 +0100)]
Make it clearer that those are primarily the requirements needed to develop on django-tables.

14 years agoMore refactoring: Custom table classes now don't need to assign to the _snapshot...
Michael Elsdörfer [Wed, 24 Mar 2010 17:10:03 +0000 (18:10 +0100)]
More refactoring: Custom table classes now don't need to assign to the _snapshot argument directly, but can simply return their snapshot.

14 years agoMake it slightly easier for custom table subclasses to customize the classes used...
Michael Elsdörfer [Wed, 24 Mar 2010 16:57:14 +0000 (17:57 +0100)]
Make it slightly easier for custom table subclasses to customize the classes used for rows etc.

Removed an unused _get_rows method from ModelTable.

14 years agoMoved the global options to a separate module as well.
Michael Elsdörfer [Wed, 24 Mar 2010 16:49:17 +0000 (17:49 +0100)]
Moved the global options to a separate module as well.

14 years agoMerged the todo items from the README with the existing TODO file, which by the way...
Michael Elsdörfer [Wed, 24 Mar 2010 16:36:40 +0000 (17:36 +0100)]
Merged the todo items from the README with the existing TODO file, which by the way was in the wrong location.

14 years agoMinor refactoring. The BaseTable implementation is now split into an actual "BaseTabl...
Michael Elsdörfer [Wed, 24 Mar 2010 16:30:36 +0000 (17:30 +0100)]
Minor refactoring. The BaseTable implementation is now split into an actual "BaseTable", and a "MemoryTable". This is because in the future we'd like to offer at least one additional table implementation, an SQlTable, which is capable of doing raw queries. As a result, a better split of the base funtionality and what is provided by a base class is appropriate.

14 years agoAdded a pip requirements file for dependency installation.
Michael Elsdörfer [Wed, 24 Mar 2010 16:20:03 +0000 (17:20 +0100)]
Added a pip requirements file for dependency installation.

14 years agoAllow for a local TODO file.
Michael Elsdörfer [Wed, 24 Mar 2010 16:19:42 +0000 (17:19 +0100)]
Allow for a local TODO file.

14 years agoIgnore WingIDE project file.
Michael Elsdörfer [Wed, 24 Mar 2010 15:34:34 +0000 (16:34 +0100)]
Ignore WingIDE project file.

14 years agoMerge upstream.
Michael Elsdörfer [Thu, 14 Jan 2010 18:27:22 +0000 (19:27 +0100)]
Merge upstream.

14 years agoIgnore Eclipse project files.
Michael Elsdörfer [Thu, 14 Jan 2010 18:26:00 +0000 (19:26 +0100)]
Ignore Eclipse project files.

14 years agoAdded TODO.
Michael Elsdörfer [Thu, 14 Jan 2010 18:25:33 +0000 (19:25 +0100)]
Added TODO.

14 years agoHardly unexpected, r49 worked with the Django trunk, but caused issues with older...
Michael Elsdoerfer [Fri, 8 Jan 2010 23:17:50 +0000 (00:17 +0100)]
Hardly unexpected, r49 worked with the Django trunk, but caused issues with older versions. Now both should work.

14 years agoFixed test that broke with recent Django SVN trunk. Django now seems to strictly...
Michael Elsdoerfer [Fri, 8 Jan 2010 23:13:57 +0000 (00:13 +0100)]
Fixed test that broke with recent Django SVN trunk. Django now seems to strictly require Template.render() to be called with a Context, dict doesn't work anymore.

With this commit, all the tests pass with the latest Django trunk.

14 years agoFix for #503652 (thanks Zeth). The quasi-internal APIs to retrieve the SQL code for...
Michael Elsdoerfer [Fri, 8 Jan 2010 23:11:17 +0000 (00:11 +0100)]
Fix for #503652 (thanks Zeth). The quasi-internal APIs to retrieve the SQL code for a queryset will change in 1.2. We now support both 1.2 and previous versions.

14 years agoTODO.
Michael Elsdoerfer [Fri, 23 Oct 2009 01:12:38 +0000 (03:12 +0200)]
TODO.

14 years agoAdded some considerations wrt adding filtering support.
Michael Elsdoerfer [Fri, 23 Oct 2009 01:11:24 +0000 (03:11 +0200)]
Added some considerations wrt adding filtering support.

14 years agoFixed code sample syntax, typos.
Michael Elsdoerfer [Fri, 23 Oct 2009 01:09:53 +0000 (03:09 +0200)]
Fixed code sample syntax, typos.

15 years agoClarified example in README. Thanks Aaron.
Michael Elsdoerfer [Fri, 13 Feb 2009 04:16:07 +0000 (05:16 +0100)]
Clarified example in README. Thanks Aaron.

15 years agoFixed #282964: 'data' may point to a callable attribute while still leaving the colum...
Michael Elsdoerfer [Sun, 11 Jan 2009 13:38:18 +0000 (14:38 +0100)]
Fixed #282964: 'data' may point to a callable attribute while still leaving the column sortable.

15 years agoFixed a bug that made it hard to change the visibility of a column of a table instance
Michael Elsdoerfer [Sat, 10 Jan 2009 01:13:00 +0000 (02:13 +0100)]
Fixed a bug that made it hard to change the visibility of a column of a table instance

15 years agofixed minor oversight in README, thanks sebzur
Michael Elsdoerfer [Sat, 13 Dec 2008 04:27:49 +0000 (05:27 +0100)]
fixed minor oversight in README, thanks sebzur

15 years agofixed typo
Michael Elsdoerfer [Mon, 13 Oct 2008 23:38:40 +0000 (01:38 +0200)]
fixed typo

15 years agothe pagination example still wasn't quite right (thanks again, robert)
Michael Elsdoerfer [Mon, 6 Oct 2008 12:23:47 +0000 (14:23 +0200)]
the pagination example still wasn't quite right (thanks again, robert)

15 years agofixed erroneous example in README (thanks to robert)
Michael Elsdoerfer [Thu, 2 Oct 2008 12:37:04 +0000 (14:37 +0200)]
fixed erroneous example in README (thanks to robert)

15 years agobuiltin pagination now handles errors and converts them to Http404s
Michael Elsdoerfer [Sun, 21 Sep 2008 18:58:11 +0000 (20:58 +0200)]
builtin pagination now handles errors and converts them to Http404s

15 years agoadded some musings about the potential future filter functionality to the readme
Michael Elsdoerfer [Tue, 16 Sep 2008 18:18:36 +0000 (20:18 +0200)]
added some musings about the potential future filter functionality to the readme

15 years agoconverted test suite to use nose rather than py.test; made some minor improvements...
Michael Elsdoerfer [Tue, 16 Sep 2008 17:43:01 +0000 (19:43 +0200)]
converted test suite to use nose rather than py.test; made some minor improvements to one test in the process

15 years agoinclude tests in source distribution
Michael Elsdoerfer [Sun, 27 Jul 2008 00:02:47 +0000 (02:02 +0200)]
include tests in source distribution

15 years agoadded distutils setup script
Michael Elsdoerfer [Sat, 26 Jul 2008 23:55:17 +0000 (01:55 +0200)]
added distutils setup script

15 years agoremoved obsolete line from README that was never actually true
Michael Elsdoerfer [Sat, 19 Jul 2008 01:27:13 +0000 (03:27 +0200)]
removed obsolete line from README that was never actually true

15 years agominor comment spelling mistake
Michael Elsdoerfer [Sat, 19 Jul 2008 01:26:42 +0000 (03:26 +0200)]
minor comment spelling mistake

15 years agoadded bsd license info
Michael Elsdoerfer [Sat, 19 Jul 2008 01:13:05 +0000 (03:13 +0200)]
added bsd license info

15 years agominor readme updates
Michael Elsdoerfer [Wed, 9 Jul 2008 13:49:49 +0000 (15:49 +0200)]
minor readme updates

15 years agoadded support for column default sort directions
Michael Elsdoerfer [Sun, 29 Jun 2008 22:42:41 +0000 (00:42 +0200)]
added support for column default sort directions

15 years agostandard tables now support an inner metaclass; the new 'sortable' option allows...
Michael Elsdoerfer [Sun, 29 Jun 2008 13:13:30 +0000 (15:13 +0200)]
standard tables now support an inner metaclass; the new 'sortable' option allows setting a table-wide default

15 years agoadded columns.sortable() method
Michael Elsdoerfer [Sun, 29 Jun 2008 10:30:46 +0000 (12:30 +0200)]
added columns.sortable() method

15 years agoadded helpful functionality for working with order_by, rendering order_by functionali...
Michael Elsdoerfer [Sun, 29 Jun 2008 09:50:09 +0000 (11:50 +0200)]
added helpful functionality for working with order_by, rendering order_by functionality in templates

15 years agoTable.__getitem__ did not work at all
Michael Elsdoerfer [Fri, 27 Jun 2008 23:01:52 +0000 (01:01 +0200)]
Table.__getitem__ did not work at all

15 years agoadding to a previous fix, make sure order_by is always a fully featured OrderByTuple
Michael Elsdoerfer [Fri, 27 Jun 2008 20:33:11 +0000 (22:33 +0200)]
adding to a previous fix, make sure order_by is always a fully featured OrderByTuple

15 years agofixed bug in set_url_param when used with order_by values or similar structures
Michael Elsdoerfer [Fri, 27 Jun 2008 00:17:17 +0000 (02:17 +0200)]
fixed bug in set_url_param when used with order_by values or similar structures

15 years agoorder_by was not normalized when passed to __init__, and generally failed with None...
Michael Elsdoerfer [Thu, 26 Jun 2008 22:32:12 +0000 (00:32 +0200)]
order_by was not normalized when passed to __init__, and generally failed with None values

15 years agofixed bug when accessing rows by index; added the missing test that caused this to...
Michael Elsdoerfer [Thu, 26 Jun 2008 21:12:12 +0000 (23:12 +0200)]
fixed bug when accessing rows by index; added the missing test that caused this to go unnoticed; added some type checking to make certain errors more easier to find

15 years agoadded support for pagination
Michael Elsdörfer [Thu, 26 Jun 2008 17:15:56 +0000 (17:15 +0000)]
added support for pagination

15 years agosupport column "data" option, relationship spanning; cleaned up docs
Michael Elsdörfer [Tue, 24 Jun 2008 01:24:37 +0000 (01:24 +0000)]
support column "data" option, relationship spanning; cleaned up docs