Bradley Ayers [Sun, 22 May 2011 20:18:26 +0000 (06:18 +1000)]
Merge branch 'development'
Bradley Ayers [Sun, 22 May 2011 12:05:26 +0000 (22:05 +1000)]
Column verbose_name now uses model field verbose_name if possible. Resolves issue #3
Bradley Ayers [Sat, 21 May 2011 12:59:13 +0000 (22:59 +1000)]
Merge branch 'development'
Bradley Ayers [Sat, 21 May 2011 12:53:54 +0000 (22:53 +1000)]
LinkColumn now properly handles null foreign keys. resolves issue #7
Bradley Ayers [Sat, 14 May 2011 11:05:53 +0000 (21:05 +1000)]
Merge branch 'development'
Bradley Ayers [Sat, 14 May 2011 11:05:22 +0000 (21:05 +1000)]
* Fixed bug with LinkColumn when using unicode. Thanks kwevej
* Bumped version to 0.4.3
Bradley Ayers [Wed, 11 May 2011 21:22:14 +0000 (07:22 +1000)]
Merge branch 'development'
Bradley Ayers [Wed, 11 May 2011 21:19:20 +0000 (07:19 +1000)]
Fixed rogue tests/ and example/ packages being installed in site-packages
Bradley Ayers [Wed, 11 May 2011 21:05:46 +0000 (07:05 +1000)]
Merge branch 'development'
Bradley Ayers [Wed, 11 May 2011 21:02:26 +0000 (07:02 +1000)]
* 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
Bradley Ayers [Mon, 9 May 2011 09:57:05 +0000 (19:57 +1000)]
Fixed a couple of typos in the documentation. Thanks Martin St.
Bradley Ayers [Wed, 20 Apr 2011 11:18:32 +0000 (21:18 +1000)]
Merge branch 'development'
Bradley Ayers [Wed, 20 Apr 2011 11:18:21 +0000 (21:18 +1000)]
bumped version out of beta
Bradley Ayers [Fri, 15 Apr 2011 10:57:22 +0000 (20:57 +1000)]
Merge branch 'development'
Bradley Ayers [Fri, 15 Apr 2011 10:57:16 +0000 (20:57 +1000)]
bumped docs version
Bradley Ayers [Fri, 15 Apr 2011 10:56:34 +0000 (20:56 +1000)]
Merge branch 'development'
Bradley Ayers [Fri, 15 Apr 2011 10:45:02 +0000 (20:45 +1000)]
bumped version
Bradley Ayers [Fri, 15 Apr 2011 10:40:32 +0000 (20:40 +1000)]
Merge branch 'development' of https://github.com/chrisdoble/django-tables into development
Bradley Ayers [Fri, 15 Apr 2011 10:22:18 +0000 (20:22 +1000)]
* Added ability to specify an empty_row value for tables
Chris Doble [Mon, 11 Apr 2011 23:52:22 +0000 (09:52 +1000)]
Fix minor HTML issue.
Bradley Ayers [Sun, 10 Apr 2011 00:02:06 +0000 (10:02 +1000)]
Rendered tables now include empty_text
Bradley Ayers [Wed, 6 Apr 2011 23:08:38 +0000 (09:08 +1000)]
mostly done, just need to add empty_text functionality, and sortable
Bradley Ayers [Tue, 5 Apr 2011 07:49:26 +0000 (17:49 +1000)]
Merge branch 'development'
Bradley Ayers [Tue, 5 Apr 2011 07:44:35 +0000 (17:44 +1000)]
* render_FOO methods now only receive the arguments they accept (no more **kwargs)
* The default ordering of a table is now Table.Meta.order_by, rather than to not sort at all.
* Fixed a rendering bug with Django 1.3 (related to indexing into querysets)
* Model tests now work.
Bradley Ayers [Mon, 4 Apr 2011 05:15:09 +0000 (15:15 +1000)]
Merge branch 'development'
Bradley Ayers [Mon, 4 Apr 2011 05:12:09 +0000 (15:12 +1000)]
* Added pagination
* TemplateColumn now renders with a RequestContext if using {% render_table %}
* Column accessors no longer need to successfully resolve. If the resolve fails, the default value will be used.
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
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.
Bradley Ayers [Thu, 31 Mar 2011 23:21:44 +0000 (09:21 +1000)]
Merge branch 'development'
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.
Bradley Ayers [Fri, 25 Mar 2011 03:44:54 +0000 (13:44 +1000)]
Fixed paleblue theme CSS
Conflicts:
django_tables/static/django_tables/themes/paleblue/css/screen.css
docs/conf.py
setup.py
Bradley Ayers [Fri, 25 Mar 2011 03:31:15 +0000 (13:31 +1000)]
* Fixed the paleblue theme CSS
Bradley Ayers [Fri, 25 Mar 2011 03:19:51 +0000 (13:19 +1000)]
Squashed commit of the following:
commit
c3a0de3791f178e6a653167eea315e467955f23d
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Fri Mar 25 12:59:32 2011 +1000
fixed missing include in MANIFEST.in
commit
71a9ea5e40c4cbc1d5fc2537c8ab6725325a1f17
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Fri Mar 25 12:50:13 2011 +1000
bumped version
commit
c743e17d0405b5b362fc0676a51b69eb76dbe0d4
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Fri Mar 25 12:49:41 2011 +1000
added 'attrs' field on Table.Meta, updated documentation, added a paleblue theme.
commit
127c210473ad250a8f2a27c3107952da9a62826b
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Thu Mar 24 13:12:57 2011 +1000
Fixed wrong dependency name in setup.py
commit
11451794ec659b8ccd8bc24327dd45d5f096f6fe
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Thu Mar 24 13:07:49 2011 +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
commit
7ccf79aabf68d92360b40b561b1948d4da2d4caa
Author: Bradley Ayers <bradley.ayers@gmail.com>
Date: Wed Mar 23 09:15:07 2011 +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.
commit
3a3c8fe8cd783ac08d5e06b4b3021cf611beb7e3
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Mon Mar 21 16:30:59 2011 +1000
simplified setup.py
commit
c0292c03e10cb9e5b8ea1c5cd3195a4de54c7068
Author: Bradley Ayers <bradley.ayers@gmail.com>
Date: Sun Feb 27 23:45:20 2011 +1000
using QuerySets actually works now, added a relevant test that now uses django-attest
commit
b4d157013e984f5d29b1877fdecbc0482fd8fb9f
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Fri Feb 25 17:36:14 2011 +1000
added a test to reveal problem with using querysets as data sources
commit
ba9fa5a60ab0f511bd245674dacfaf4ee57859fc
Author: Bradley Ayers <bradley.ayers@gmail.com>
Date: Fri Feb 25 03:03:50 2011 +1000
removed copyright
commit
c9913e928fe50221ccb1757194771b6f46d1312a
Author: Bradley Ayers <bradley.ayers@gmail.com>
Date: Fri Feb 25 03:01:36 2011 +1000
upped version to 0.4.0 alpha 1
commit
b26c1fc04093ccf1ede246803715fd57e8db41fb
Author: Bradley Ayers <bradley.ayers@gmail.com>
Date: Fri Feb 25 02:54:02 2011 +1000
fixed up a lot of shitty documentation, and fixed some bugs while I was at it.
commit
efe955a1a86977cf9f392ce60ad2bd5ad43f4784
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Wed Feb 23 17:33:22 2011 +1000
updated docs
commit
79d701a0c910ec9a8e671e09cb56ab04f6ebcb29
Author: Bradley Ayers <bradley.ayers@enigmainteractive.com>
Date: Tue Feb 22 19:12:27 2011 +1000
fixed some bugs
Bradley Ayers [Fri, 25 Mar 2011 02:59:32 +0000 (12:59 +1000)]
fixed missing include in MANIFEST.in
Bradley Ayers [Fri, 25 Mar 2011 02:51:35 +0000 (12:51 +1000)]
* Added 'attrs' property on Table
* Added 'attrs' field in Table.Meta
* Added AttributeDict
* Updated documentation relating to the new Table.attrs property
* Added a paleblue theme.
Bradley Ayers [Fri, 25 Mar 2011 02:50:13 +0000 (12:50 +1000)]
bumped version
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.
Bradley Ayers [Thu, 24 Mar 2011 03:13:12 +0000 (13:13 +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
* 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.
* Simplified setup.py
* Using QuerySets actually works now, added a relevant test that now uses django-attest
Bradley Ayers [Thu, 24 Mar 2011 03:12:57 +0000 (13:12 +1000)]
Fixed wrong dependency name in 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
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.
Bradley Ayers [Mon, 21 Mar 2011 06:30:59 +0000 (16:30 +1000)]
simplified setup.py
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
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
Bradley Ayers [Thu, 24 Feb 2011 17:07:40 +0000 (03:07 +1000)]
0.4.0 alpha 1
Bradley Ayers [Thu, 24 Feb 2011 17:03:50 +0000 (03:03 +1000)]
removed copyright
Bradley Ayers [Thu, 24 Feb 2011 17:01:36 +0000 (03:01 +1000)]
upped version to 0.4.0 alpha 1
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.
Bradley Ayers [Wed, 23 Feb 2011 07:33:22 +0000 (17:33 +1000)]
updated docs
Bradley Ayers [Tue, 22 Feb 2011 09:12:27 +0000 (19:12 +1000)]
fixed some bugs
Bradley Ayers [Fri, 4 Feb 2011 02:40:42 +0000 (12:40 +1000)]
updated README
Bradley Ayers [Fri, 4 Feb 2011 02:38:40 +0000 (12:38 +1000)]
updated README.rst
Bradley Ayers [Fri, 4 Feb 2011 02:37:48 +0000 (12:37 +1000)]
Added README, removed komodo project files
Bradley Ayers [Fri, 4 Feb 2011 02:28:44 +0000 (12:28 +1000)]
lots of major changes
Michael Elsdoerfer [Fri, 26 Nov 2010 12:16:14 +0000 (13:16 +0100)]
Setup development version number.
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.
Michael Elsdoerfer [Fri, 26 Nov 2010 12:12:26 +0000 (13:12 +0100)]
Prepare to fix a new version.
Michael Elsdoerfer [Mon, 22 Nov 2010 15:01:00 +0000 (16:01 +0100)]
Merge remote branch 'jweyrich/master'
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.
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
Michael Elsdörfer [Wed, 13 Oct 2010 16:56:48 +0000 (18:56 +0200)]
Fixed some problems with Harro's test.
Harro van der Klauw [Tue, 12 Oct 2010 09:15:56 +0000 (11:15 +0200)]
Added verbose_name to columns from a model.
Michael Elsdoerfer [Tue, 24 Aug 2010 22:46:11 +0000 (00:46 +0200)]
Fixed a NameError. This potentially closes issue 5.
Michael Elsdoerfer [Tue, 24 Aug 2010 22:27:08 +0000 (00:27 +0200)]
Convert a bunch of files to use *nix line endings.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:33:04 +0000 (00:33 +0200)]
Ignore build directory created by distutils.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:32:37 +0000 (00:32 +0200)]
Make setup.py executable.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:32:11 +0000 (00:32 +0200)]
After release, set version to 0.3 dev.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:27:00 +0000 (00:27 +0200)]
Prepare a 0.2 release.
Michael Elsdoerfer [Fri, 20 Aug 2010 22:25:47 +0000 (00:25 +0200)]
Converted to *nix linebreaks.
Michael Elsdoerfer [Wed, 21 Jul 2010 12:18:46 +0000 (14:18 +0200)]
Added a test for Harro's columns= sorting change.
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.
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.
Michael Elsdoerfer [Tue, 1 Jun 2010 16:12:38 +0000 (18:12 +0200)]
Minor formatting fix in docs.
Michael Elsdoerfer [Tue, 1 Jun 2010 16:09:21 +0000 (18:09 +0200)]
Added documentation for the new "render_COLUMN" methods.
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.
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.
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.
Michael Elsdoerfer [Tue, 18 May 2010 20:32:22 +0000 (22:32 +0200)]
Fixed the ModelTable docstring. Thanks philotas. Closes #2.
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.
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).
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.
Michael Elsdoerfer [Tue, 6 Apr 2010 13:18:00 +0000 (15:18 +0200)]
Added a __len__ method to the columns container.
Michael Elsdoerfer [Fri, 26 Mar 2010 11:55:22 +0000 (12:55 +0100)]
Noted another random idea.
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.
Michael Elsdoerfer [Fri, 26 Mar 2010 08:45:02 +0000 (09:45 +0100)]
TODOs.
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.
Michael Elsdoerfer [Fri, 26 Mar 2010 07:36:37 +0000 (08:36 +0100)]
Updated ignores for git.
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.
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.
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.
Michael Elsdörfer [Wed, 24 Mar 2010 16:49:17 +0000 (17:49 +0100)]
Moved the global options to a separate module as well.
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.
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.
Michael Elsdörfer [Wed, 24 Mar 2010 16:20:03 +0000 (17:20 +0100)]
Added a pip requirements file for dependency installation.
Michael Elsdörfer [Wed, 24 Mar 2010 16:19:42 +0000 (17:19 +0100)]
Allow for a local TODO file.
Michael Elsdörfer [Wed, 24 Mar 2010 15:34:34 +0000 (16:34 +0100)]
Ignore WingIDE project file.
Michael Elsdörfer [Thu, 14 Jan 2010 18:27:22 +0000 (19:27 +0100)]
Merge upstream.
Michael Elsdörfer [Thu, 14 Jan 2010 18:26:00 +0000 (19:26 +0100)]
Ignore Eclipse project files.
Michael Elsdörfer [Thu, 14 Jan 2010 18:25:33 +0000 (19:25 +0100)]
Added TODO.
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.