Commit Graph

480 Commits

Author SHA1 Message Date
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
Pablo Martín 1a96363587 Update the doc 2012-04-10 12:26:09 +02:00
Pablo Martín 183d0b9745 Change the name of the new columns and raise a exception if the
template name and template column are None
2012-04-10 11:01:00 +02:00
Bradley Ayers a0503aa533 Fix more python 2.6.4 bugs, bump to v0.10.4 2012-04-10 11:04:56 +10:00
Bradley Ayers 25394957d5 Bump to v0.10.3 2012-04-06 07:44:13 +10:00
Bradley Ayers 1d7cf79383 Localise Django 1.3 dependency to Table.as_html 2012-04-06 07:41:34 +10:00
Bradley Ayers 5fe3241207 Fix some issues causing problems on Python 2.6 2012-04-06 07:41:13 +10:00
Pablo Martín 6c236fc124 Add new columns type: AbsoluteLinkColumn, EmailLinkColumn
And add a new feature in TemplateColumn
2012-04-02 12:56:06 +02:00
Bradley Ayers 288d4014f7 Made Column attrs argument default to Attrs(), to avoid deprecation errors 2012-03-29 09:51:49 +10:00
Bradley Ayers d4e7bd35bd Fix tests on Django 1.3.1, include example templates (fixes #66), bump to v0.10.2 2012-03-27 06:43:36 +10:00
Bradley Ayers 2e941c71e5 Polish merge and bump to v0.10.1 2012-03-26 14:24:40 +10:00
Christopher Keele 16df453bd3 Less prejudiced defaults. 2012-03-19 19:28:47 -05:00
Christopher Keele b45a40ec1b Honor paginators default per_pages, change nomenclature, remove sanity checks, keep pagination set to true by default. 2012-03-19 17:37:12 -05:00
Christopher Keele 25956d9a97 Add django 1.4 support 2012-03-19 15:08:59 -05:00
Christopher Keele 088353ed97 Prefix newly accessible pagination variable to keep CBV mixinable and polish off #65. 2012-03-19 10:27:54 -05:00
Christopher Keele 37f1ab6ef5 Make pagination always true, keep None from throwing errors 2012-03-16 05:53:23 -05:00
Christopher Keele 8d9a581511 Tweak pagination docstring in class based view 2012-03-16 03:12:47 -05:00
Christopher Keele 6a06d525fa Keep default for non-class based views 2012-03-16 03:07:55 -05:00
Christopher Keele 00e19f1820 Expose that handy tables.paginate to the class based view, so pagination can be customized. 2012-03-16 03:02:56 -05:00
Christopher Keele 99b4eef0e6 Since pagination is true by default, and therefore calls table.paginate, the default per_page ought to actually implement pagination instead of forcing an ugly 'Page 1 of 1' at the botton of the table. 2012-03-16 02:56:35 -05:00
Damien Ayers fdeec852ad Examples use render() instead of render_to_response()
Django >= 1.3 is required now, so can use the nicer shortcuts.
2012-03-16 13:25:29 +10:00
Bradley Ayers 24e580888b Require django-attest v0.2.3, adds support for Django 1.4rc2 versioning scheme 2012-03-16 11:38:00 +10:00
Bradley Ayers 2130798cf0 Add SECRET_KEY setting for tests 2012-03-16 11:37:59 +10:00
Bradley Ayers 28f53c8082 Merge pull request #61 from omad/patch-1
Fix docs for pagination using RequestConfig
2012-03-15 18:17:39 -07:00
Damien Ayers f181e897d8 Fix docs for pagination using RequestConfig 2012-03-16 11:03:45 +10:00
Bradley Ayers c97bf49c30 Add github + pypi links in documentation 2012-03-14 15:45:28 +10:00
Bradley Ayers 27824efa43 Fix documentation bug, thanks Damien Ayers. 2012-03-14 15:40:00 +10:00
Bradley Ayers 910f278b95 Fix bug in TableData order_by for queryset data 2012-03-14 12:07:20 +10:00
Bradley Ayers 81757543c5 Update docs on column ordering. 2012-03-14 12:00:19 +10:00
Bradley Ayers 44689e5881 Use functions rather than special methods, e.g. type(f) instead of f.__class__ 2012-03-14 11:59:59 +10:00
Bradley Ayers dfae3b229b Add column order by accessors, fixes #20 #48. Thanks thibault, skandocious, alvarovmz
Also renamed `sortable` to `orderable`.
Bump to v0.10.0
2012-03-14 11:45:54 +10:00
Bradley Ayers d21323e77f Remove information from README about miracle2k's version 2012-03-08 17:43:39 +10:00
Bradley Ayers 258ec59c80 Fix bug in sorted column th attributes, bump to v0.9.6 2012-03-08 17:07:56 +10:00
Bradley Ayers 11b3fec168 Bump to v0.9.5 2012-03-08 15:30:00 +10:00
Bradley Ayers cc5b541d60 Update example project with colspan on footer cell. 2012-03-08 15:22:06 +10:00
Bradley Ayers dc3f28b874 Fix 'sortable' class on <th>, fixes #53.
Also tweaked CSS for paleblue theme to remove display: block from th > a
2012-03-08 15:20:53 +10:00
Bradley Ayers 908bf6b945 Table.__init__ no longer *always* calls .order_by() on querysets, fixes #55 2012-03-08 14:37:55 +10:00
Michael Hudson-Doyle 2858190f27 super call __new__ in DeclarativeColumnsMetaclass.__new__ 2012-03-08 13:39:54 +10:00
Bradley Ayers b2358b14cc Add test to expose problem with DeclarativeColumnsMetaclass inheritence 2012-03-08 13:39:48 +10:00
Bradley Ayers 1775d0fedd Update test requirements, pylint + Attest >=0.5.3 2012-03-06 10:34:36 +10:00