Bradley Ayers
3bd5dac919
Make utils.segment handle prefixed aliases
2012-07-12 10:01:40 +10:00
Bradley Ayers
724c1d5f33
Add tests for column ordering from queryset
2012-07-11 09:07:47 +10:00
Bradley Ayers
a0d2165fd3
Add "without" keyword to queryset template tag
2012-07-10 12:34:19 +10:00
Bradley Ayers
50361357f7
Add 'segment' function to translate flat ordering to column names
2012-07-05 10:12:05 +10:00
Bradley Ayers
4f7b2406d4
Fix tests on Python 2.6
2012-06-26 10:36:09 +10:00
Bradley Ayers
be5d5906f7
Add 'value' and 'default' to TemplateColumn
2012-06-24 11:52:36 +10:00
Bradley Ayers
d0666e32c1
Change default value from en to em dash.
2012-06-24 11:26:38 +10:00
Bradley Ayers
1f51bd9990
Fix typo in default template.
2012-06-24 11:07:30 +10:00
Bradley Ayers
f7372a5779
Update changelog to include fix for #83
2012-06-24 10:50:50 +10:00
Bradley Ayers
315583bec5
Column defaults are now more sensible, resolves #64
2012-06-24 10:48:41 +10:00
Bradley Ayers
2db92e421b
Accessor now honors .alters_data attributes, resolves #83 .
2012-06-20 18:02:37 +10:00
Bradley Ayers
4b3330a84e
When using model backed table, allow non-field values on the model to be specified in 'fields', resolves #82
2012-06-20 09:42:35 +10:00
Bradley Ayers
65230c777d
Use   rather than for {% nospaceless %}
2012-06-18 16:41:27 +10:00
Bradley Ayers
883c565668
Ignore test articles
2012-06-18 16:40:15 +10:00
Bradley Ayers
4d610da710
Preserve whitespace in headings and body of table HTML, resolves #80
2012-06-16 19:03:20 +10:00
Bradley Ayers
fe5c187579
Setting Table.Meta.fields now affects default sequence of columns. Resolves #76
2012-06-16 11:36:30 +10:00
Bradley Ayers
486f588b53
Change tox.ini to use tarballs from github for latest releases, rather than checking out the entire repo
2012-05-23 10:28:17 +10:00
Bradley Ayers
d5a2d0f62d
Column.order_by now defaults to Column.accessor instead of Column.name, resolves issue #74
2012-05-19 19:33:05 +10:00
Bradley Ayers
7b49ac07cd
Switch 'Helvetica' and 'Verdana' in CSS for table headings.
2012-05-17 09:58:05 +10:00
Bradley Ayers
ec8328ea95
Turn warnings into errors when running tests, use latest Attest
2012-05-13 22:48:47 +10:00
Selwin Ong
044d1b559d
Move ``bound_column.render_args`` to ``bound_column._render_args``.
2012-05-13 11:40:20 +10:00
Selwin Ong
1233e7bd16
Move ``funcs`` and ``specs`` in columns.py to module level.
2012-05-13 11:37:17 +10:00
Selwin Ong
527a891457
Table.sequence should respect ._meta.sequence.
...
A few minor tweaks and fixes.
2012-05-13 11:35:15 +10:00
Selwin Ong
2d84a1ee15
Revert "Moved table._sequence to table._sequence_expanded for backwards compatibility."
...
This reverts commit 1debcfe942a19dffbe8253162ee8b1696e642a81.
2012-05-13 11:35:14 +10:00
Selwin Ong
73b7e1d157
Moved table._sequence to table._sequence_expanded for backwards compatibility.
2012-05-13 11:35:14 +10:00
Selwin Ong
76ea9a959d
Store fully expanded sequence in _sequence
2012-05-13 11:35:14 +10:00
Selwin Ong
35833e4003
Make table.sequence default to ...
2012-05-13 11:30:00 +10:00
Selwin Ong
0c8fdddf42
Instantiate ``BoundColumn``s only once when table is first instantiated instead of every time a row is being read.
2012-05-13 11:30:00 +10:00
Bradley Ayers
1f075b2864
Add more test environments
2012-05-11 10:37:13 +10:00
Bradley Ayers
4fbba90ef3
Fix testing infrastructure.
2012-05-11 08:59:56 +10:00
Bradley Ayers
d5bad8caa0
Fix link column tests.
2012-05-11 08:58:48 +10:00
Bradley Ayers
7344d83aab
Fix pylint violations
2012-05-11 07:27:22 +10:00
Bradley Ayers
43018b3d7c
Add tox.ini
2012-05-03 20:23:51 +10:00
Bradley Ayers
35344cf98d
Merge pull request #73 from goinnn/master
...
Two little errors after the merge
2012-05-03 03:12:58 -07:00
Pablo Martín
31a9503de4
Two littles error after the merge
2012-05-03 12:00:22 +02:00
Bradley Ayers
8b418447ab
Made some minor tweaks after merge.
2012-05-03 10:13:33 +10:00
Pablo Martín
de9058bc31
Now you can have something like this:
...
class PersonTable(tables.Table):
class Meta:
model = Person
fields = ('first_name', 'email')
Before only exists exclude in the meta class.
In the words of python: "More implicit than explicit".
2012-04-20 14:20:52 +02:00
Pablo Martín
ccfaefe90c
Update the version in the doc
2012-04-20 12:22:56 +02:00
Pablo Martín
cacb1ab58f
Now the URLColumn and EmailColumn support for attrs
2012-04-20 12:20:31 +02:00
Pablo Martín
fd9158e91a
Change the quote to double quote
2012-04-18 16:36:00 +02:00
Pablo Martín
1c4bb0ba31
Change the text of the exception
2012-04-18 16:31:28 +02:00
Pablo Martín
2e54468cab
Changes in the description of TemplateColumn
2012-04-18 16:30:48 +02:00
Pablo Martín
2af02059d0
Changes in the rST to indicate literal text
2012-04-18 16:29:45 +02:00
Pablo Martín
0f2776e704
I capital the "url word"
2012-04-18 16:28:35 +02:00
Pablo Martín
d466339401
Removed the blank lines
2012-04-18 16:27:35 +02:00
Pablo Martín
931f8e7c21
Ready to new release
2012-04-10 18:48:30 +02:00
Pablo Martín
43280636a8
Merge branch 'master' of https://github.com/bradleyayers/django-tables2
2012-04-10 18:42:13 +02:00
Pablo Martín
87d5546c23
Add test to the new features
2012-04-10 18:37:08 +02:00
Pablo Martín
1cdfda5564
A little detail in the columns
2012-04-10 18:36:43 +02:00
Pablo Martín
6e52cd21df
Add escape in render methods
2012-04-10 12:32:18 +02:00