django-tables2.git
13 years agoSquashed commit of the following: v0.4.0.alpha3
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

13 years ago* Added 'attrs' property on Table 0.4.0.alpha3
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.

13 years ago* Moved tests out of the app, and integrated them with setup.py v0.4.0.alpha2
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

13 years ago0.4.0 alpha 1 0.4.0-alpha1
Bradley Ayers [Thu, 24 Feb 2011 17:07:40 +0000 (03:07 +1000)]
0.4.0 alpha 1

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

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

14 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.

14 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.

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

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

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

14 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.

14 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.

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

14 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.

14 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.

14 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.

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

14 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.

14 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.

14 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.

14 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.

14 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.

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

15 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.

15 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

16 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

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

16 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)

16 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)

16 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

16 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

16 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

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

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

16 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

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

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

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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 years agosupport callables
Michael Elsdörfer [Fri, 20 Jun 2008 12:30:56 +0000 (12:30 +0000)]
support callables

16 years agofixed minor bug (caches not reset); added update() method
Michael Elsdörfer [Thu, 19 Jun 2008 18:52:07 +0000 (18:52 +0000)]
fixed minor bug (caches not reset); added update() method

16 years agooption to cause exceptions to be raised for invalid columns
Michael Elsdörfer [Thu, 19 Jun 2008 18:38:00 +0000 (18:38 +0000)]
option to cause exceptions to be raised for invalid columns

16 years agomodel column auto generation can be disabled now
Michael Elsdörfer [Thu, 19 Jun 2008 16:26:16 +0000 (16:26 +0000)]
model column auto generation can be disabled now

16 years agoprevious manual (un)commit was incomplete
Michael Elsdörfer [Thu, 19 Jun 2008 16:15:37 +0000 (16:15 +0000)]
previous manual (un)commit was incomplete

16 years agoas promised, reverted (with minor exceptions) the previous changeset
Michael Elsdörfer [Thu, 19 Jun 2008 16:08:36 +0000 (16:08 +0000)]
as promised, reverted (with minor exceptions) the previous changeset

16 years agowe've just written support for a choices=True setting, when we noticed that we don...
Michael Elsdörfer [Thu, 19 Jun 2008 16:06:01 +0000 (16:06 +0000)]
we've just written support for a choices=True setting, when we noticed that we don't actually need it. instead of using special column property to enable row.column.id and row.column.value separation, the user is free to implement this behavior himself by simply making the value a dict.
in fact, when using model forms, this new behavior will be in the way, since when used with foreignkeys, we would have to map r.column.id to fk.id and r.column.value to fk, so that r.column.value.id == r.column.id; all that is completely unnecessary.

we're commiting this anyway to log it, but will revert right afterwards

16 years agoadded minor test
Michael Elsdörfer [Wed, 18 Jun 2008 13:02:43 +0000 (13:02 +0000)]
added minor test

16 years agobetter auto verbose names
Michael Elsdörfer [Wed, 18 Jun 2008 12:59:53 +0000 (12:59 +0000)]
better auto verbose names

16 years agostatic tables were implemented incorrectly, were using column aliases to read from...
Michael Elsdörfer [Wed, 18 Jun 2008 12:43:57 +0000 (12:43 +0000)]
static tables were implemented incorrectly, were using column aliases to read from source

16 years agoforgot those files in the last commit
Michael Elsdörfer [Tue, 17 Jun 2008 13:33:55 +0000 (13:33 +0000)]
forgot those files in the last commit

16 years agomore work on modeltables, they are pretty much usable now
Michael Elsdörfer [Tue, 17 Jun 2008 13:33:36 +0000 (13:33 +0000)]
more work on modeltables, they are pretty much usable now

16 years ago...
Michael Elsdörfer [Sun, 15 Jun 2008 17:49:55 +0000 (17:49 +0000)]
...

16 years agowe're now in a state were so far existing features are complete; but more to come
Michael Elsdörfer [Sun, 15 Jun 2008 17:31:17 +0000 (17:31 +0000)]
we're now in a state were so far existing features are complete; but more to come