summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
Michael Elsdoerfer [Sun, 29 Jun 2008 10:30:46 +0000 (12:30 +0200)]
added columns.sortable() method
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
Michael Elsdoerfer [Fri, 27 Jun 2008 23:01:52 +0000 (01:01 +0200)]
Table.__getitem__ did not work at all
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
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
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
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
Michael Elsdörfer [Thu, 26 Jun 2008 17:15:56 +0000 (17:15 +0000)]
added support for pagination
Michael Elsdörfer [Tue, 24 Jun 2008 01:24:37 +0000 (01:24 +0000)]
support column "data" option, relationship spanning; cleaned up docs
Michael Elsdörfer [Fri, 20 Jun 2008 12:30:56 +0000 (12:30 +0000)]
support callables
Michael Elsdörfer [Thu, 19 Jun 2008 18:52:07 +0000 (18:52 +0000)]
fixed minor bug (caches not reset); added update() method
Michael Elsdörfer [Thu, 19 Jun 2008 18:38:00 +0000 (18:38 +0000)]
option to cause exceptions to be raised for invalid columns
Michael Elsdörfer [Thu, 19 Jun 2008 16:26:16 +0000 (16:26 +0000)]
model column auto generation can be disabled now
Michael Elsdörfer [Thu, 19 Jun 2008 16:15:37 +0000 (16:15 +0000)]
previous manual (un)commit was incomplete
Michael Elsdörfer [Thu, 19 Jun 2008 16:08:36 +0000 (16:08 +0000)]
as promised, reverted (with minor exceptions) the previous changeset
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
Michael Elsdörfer [Wed, 18 Jun 2008 13:02:43 +0000 (13:02 +0000)]
added minor test
Michael Elsdörfer [Wed, 18 Jun 2008 12:59:53 +0000 (12:59 +0000)]
better auto verbose names
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
Michael Elsdörfer [Tue, 17 Jun 2008 13:33:55 +0000 (13:33 +0000)]
forgot those files in the last commit
Michael Elsdörfer [Tue, 17 Jun 2008 13:33:36 +0000 (13:33 +0000)]
more work on modeltables, they are pretty much usable now
Michael Elsdörfer [Sun, 15 Jun 2008 17:49:55 +0000 (17:49 +0000)]
...
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
Michael Elsdörfer [Sat, 14 Jun 2008 17:34:59 +0000 (17:34 +0000)]
using py.test for testing; added some tests; minor model bugfixes;
Michael Elsdörfer [Sat, 14 Jun 2008 16:47:58 +0000 (16:47 +0000)]
added template tags, fixed up with tests
Michael Elsdörfer [Sun, 8 Jun 2008 22:27:18 +0000 (22:27 +0000)]
initial commit