Michael Elsdoerfer
9ec0ab8e22
added bsd license info
2008-07-19 03:13:05 +02:00
Michael Elsdoerfer
cc09479c2d
minor readme updates
2008-07-09 15:49:49 +02:00
Michael Elsdoerfer
560516669c
added support for column default sort directions
2008-06-30 00:42:41 +02:00
Michael Elsdoerfer
74e129bea5
standard tables now support an inner metaclass; the new 'sortable' option allows setting a table-wide default
2008-06-29 15:13:30 +02:00
Michael Elsdoerfer
d9801dbf9b
added columns.sortable() method
2008-06-29 12:30:46 +02:00
Michael Elsdoerfer
2181cf7d95
added helpful functionality for working with order_by, rendering order_by functionality in templates
2008-06-29 11:50:09 +02:00
Michael Elsdoerfer
d75ed67a23
Table.__getitem__ did not work at all
2008-06-28 01:01:52 +02:00
Michael Elsdoerfer
b48d2b3877
adding to a previous fix, make sure order_by is always a fully featured OrderByTuple
2008-06-27 22:33:11 +02:00
Michael Elsdoerfer
52a21117c4
fixed bug in set_url_param when used with order_by values or similar structures
2008-06-27 02:17:17 +02:00
Michael Elsdoerfer
97fd71e8a0
order_by was not normalized when passed to __init__, and generally failed with None values
2008-06-27 00:32:12 +02:00
Michael Elsdoerfer
54e4728426
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
2008-06-26 23:12:12 +02:00
Michael Elsdörfer
2017972cbc
added support for pagination
2008-06-26 17:15:56 +00:00
Michael Elsdörfer
5b8532a216
support column "data" option, relationship spanning; cleaned up docs
2008-06-24 01:24:37 +00:00
Michael Elsdörfer
f204bb9912
support callables
2008-06-20 12:30:56 +00:00
Michael Elsdörfer
465d19169a
fixed minor bug (caches not reset); added update() method
2008-06-19 18:52:07 +00:00
Michael Elsdörfer
d34bf1e619
option to cause exceptions to be raised for invalid columns
2008-06-19 18:38:00 +00:00
Michael Elsdörfer
de94fb244e
model column auto generation can be disabled now
2008-06-19 16:26:16 +00:00
Michael Elsdörfer
715dd7a1c5
previous manual (un)commit was incomplete
2008-06-19 16:15:37 +00:00
Michael Elsdörfer
4f088ec5c1
as promised, reverted (with minor exceptions) the previous changeset
2008-06-19 16:08:36 +00:00
Michael Elsdörfer
b6776be745
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
2008-06-19 16:06:01 +00:00
Michael Elsdörfer
870ec33bb2
added minor test
2008-06-18 13:02:43 +00:00
Michael Elsdörfer
9e4d9b27c1
better auto verbose names
2008-06-18 12:59:53 +00:00
Michael Elsdörfer
5cf77d6f5e
static tables were implemented incorrectly, were using column aliases to read from source
2008-06-18 12:43:57 +00:00
Michael Elsdörfer
43da3407d5
forgot those files in the last commit
2008-06-17 13:33:55 +00:00
Michael Elsdörfer
c4da12d53b
more work on modeltables, they are pretty much usable now
2008-06-17 13:33:36 +00:00
Michael Elsdörfer
36dbc4cb99
...
2008-06-15 17:49:55 +00:00
Michael Elsdörfer
ebd6b7f43b
we're now in a state were so far existing features are complete; but more to come
2008-06-15 17:31:17 +00:00
Michael Elsdörfer
a7a704bfcb
using py.test for testing; added some tests; minor model bugfixes;
2008-06-14 17:34:59 +00:00
Michael Elsdörfer
601d014a60
added template tags, fixed up with tests
2008-06-14 16:47:58 +00:00
Michael Elsdörfer
32ddef0397
initial commit
2008-06-08 22:27:18 +00:00