Bradley Ayers [Mon, 27 Jun 2011 07:28:47 +0000 (17:28 +1000)]
Added LICENSE and bumped to v0.6.1
Bradley Ayers [Mon, 20 Jun 2011 06:14:40 +0000 (16:14 +1000)]
.. fixed readthedocs link again
Bradley Ayers [Mon, 20 Jun 2011 06:07:00 +0000 (16:07 +1000)]
fixed readthedocs link in README
Bradley Ayers [Mon, 20 Jun 2011 05:51:09 +0000 (15:51 +1000)]
bumped version to v0.6.0
Bradley Ayers [Wed, 8 Jun 2011 23:07:26 +0000 (09:07 +1000)]
bumped docs version to v0.6.0.dev
Bradley Ayers [Wed, 8 Jun 2011 23:06:34 +0000 (09:06 +1000)]
renamed to django-tables2
Bradley Ayers [Tue, 7 Jun 2011 11:39:43 +0000 (21:39 +1000)]
* 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.
Bradley Ayers [Tue, 7 Jun 2011 02:53:53 +0000 (12:53 +1000)]
* Bumped version to 0.5.0
* Added the ability to explicitly specify the sequence of columns. This resolves #11
Bradley Ayers [Mon, 6 Jun 2011 23:12:52 +0000 (09:12 +1000)]
currently broken
Bradley Ayers [Mon, 6 Jun 2011 14:09:41 +0000 (00:09 +1000)]
Added import for django_tables to docs to fix problem with building.
Bradley Ayers [Mon, 6 Jun 2011 14:08:31 +0000 (00:08 +1000)]
Updated docstrings to adhere to my latest style fetish. Converted BoundColumns.visible,all,items,sortable to use iterators
Bradley Ayers [Mon, 6 Jun 2011 13:29:54 +0000 (23:29 +1000)]
Fixed docs building, it now uses the example project so that django-tables modules can freely import django db stuff.
Bradley Ayers [Mon, 6 Jun 2011 13:29:18 +0000 (23:29 +1000)]
Added ability to specify attrs keyword argument to a table constructor to override the Table.Meta.attrs setting.
Bradley Ayers [Thu, 2 Jun 2011 23:04:38 +0000 (09:04 +1000)]
Fixed issue #8 where a TemplateSyntaxError would be raised when using {% render_table %} with a non-existant variable. The template tag now returns TEMPLATE_STRING_IF_INVALID when not in debug mode.
Bradley Ayers [Thu, 2 Jun 2011 22:30:18 +0000 (08:30 +1000)]
Fixed issue #9 (FieldDoesNotExist when table column accessor doesn't exist in queryset). It turns out the issue was due to the model lookup verbose_name functionality that was recently introduced.
Bradley Ayers [Thu, 2 Jun 2011 13:01:48 +0000 (23:01 +1000)]
Added SingleTableMixin that makes adding a table to a view trivially easy. Partially resolves #10.
Bradley Ayers [Thu, 2 Jun 2011 12:31:13 +0000 (22:31 +1000)]
Added the ability to exclude columns from an entire Table class or from a specific instance. Resolves issue #4.
Bradley Ayers [Sun, 22 May 2011 20:43:55 +0000 (06:43 +1000)]
bumped version to 0.5.0.dev
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:53:54 +0000 (22:53 +1000)]
LinkColumn now properly handles null foreign keys. resolves issue #7
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:19:20 +0000 (07:19 +1000)]
Fixed rogue tests/ and example/ packages being installed in site-packages
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:21 +0000 (21:18 +1000)]
bumped version out of beta
Bradley Ayers [Fri, 15 Apr 2011 10:57:16 +0000 (20:57 +1000)]
bumped docs version
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: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: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: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:31:15 +0000 (13:31 +1000)]
* Fixed the paleblue theme CSS
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: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: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: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.