Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-tables2 to 1.16.0 #64

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

There's a new version of django-tables2 available.
You are currently using 1.1.2. I have updated it to 1.16.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

1.16.0

  • Added tf dictionary to Column.attrs with default values for the footer, so footers now have class attribute by default 501 by mpasternak

1.15.0

  • Added as=varname keyword argument to the {% querystring %} template tag,
    fixes 481
  • Updated the tutorial to reflect current state of Django a bit better.
  • Used OrderedDict rather than dict as the parent for utils.AttributeDict to make the rendered html more consistant accross python versions.
  • Allow reading column attrs from a column's attribute, allowing easier reuse of custom column attributes (fixes 241)
  • value and record are optionally passed to the column attrs callables for data rows. 503, fixes 500

1.14.2

  • Added a row_counter variable to the template context in TemplateColumn (fixes 448)

1.14.1

  • Do not fail if orderable=False is passed to ManyToManyColumn()

1.14.0

  • Added separator argument to ManyToManyColumn.
  • Allow mark_safe()'d strings from ManyToManyColumn.tranform()
  • Disabled ordering on ManyToManyColumns by default.

1.13.0

  • Made positional data argument to the table __init__() a keyword argument to make inheritance easier. Will raise a TypeError if ommitted.

1.12.0

1.11.0

  • Added Hungarian translation 471 by hmikihth.
  • Added TemplateColumn.value() and enhanced export docs (fixes 470)
  • Fixed display of pinned rows if table has no data. 477 by khirstinova

1.10.0

  • Added ManyToManyColumn automatically added for ManyToManyFields.

1.9.1

  • Allow customizing the value used in Table.as_values() (when using a render_<name> method) using a value_<name> method. (fixes 458)
  • Allow excluding columns from the Table.as_values() output. (fixes 459)
  • Fixed unicode handling for columhn headers in Table.as_values()

1.9.0

  • Allow computable attrs for <td>-tags from Table.attrs (457, fixes 451)

1.8.0

  • Feature: Added an ExportMixin to export table data in various export formats (CSV, XLS, etc.) using tablib.
  • Defer expanding Meta.sequence to Table.__init__, to make sequence work in combination with extra_columns (fixes 450)
  • Fixed a crash when MultiTableMixin.get_tables() returned an empty array (454 by pypetey

1.7.1

  • Call before_render when rendering with the render_table template tag (fixes 447)

1.7.0

  • Make title() lazy (443 by ygwain, fixes 438)
  • Fix __all__ by populating them with the names of the items to export instead of the items themself.
  • Allow adding extra columns to an instance using the extra_columns argument. Fixes 403, 70
  • Added a hook before_render to allow last-minute changes to the table before rendering.
  • Added BoundColumns.show() and BoundColumns.hide() to show/hide columns on an instance of a Table.
  • Use <listlike>.verbose_name/.verbose_name_plural if it exists to name the items in the list. (fixes 166)

1.6.1

  • Add missing pagination to the responsive bootstrap template (440 by tobiasmcnulty)

1.6.0

  • Add new template bootstrap-responsive.html to generate a responsive bootstrap table. (Fixes 436)

1.5.0

Full disclosure: as of april 1st, 2017, I am an employee of Zostera, as such I will continue to maintain and improve django-tables2.

  • Made TableBase.as_values() an interator (432 by pziarsolo)
  • Added JSONField for data in JSON format.
  • Added __all__ in django_tables2/__init__.py and django_tables2/columns/__init__.py
  • Added a setting DJANGO_TABLES2_TEMPLATE to allow project-wide overriding of the template used to render tables (fixes 434).

1.4.2

  • Feature: Pinned rows (411 by djk2, fixes 406)
  • Fix an issue where ValueError was raised while using a view with a get_queryset() method defined. (fix with 423 by desecho)

1.4.1

1.4.0

  • Return None from Table.as_values() for missing values. 419
  • Fix ordering by custom fields, and refactor TableData 424, fixes 413
  • Revert removing TableData.__iter__() (removed in this commit), fixes 427, 361 and 421.

1.3.0

  • Implement method Table.as_values() to get it's raw values. 394 by intiocean
  • Fix some compatibility issues with django 2.0 408 by djk2

1.2.9

  • Documentation for None-column attributes 401 by dyve

1.2.8

  • None-column attributes on child class overwrite column attributes of parent class
    400 by dyve

1.2.7

  • Apply title to a column's verbose_name when it is derived from a model, fixes 249. (382 by shawnnapora)
  • Update documentation after deprecation of STATIC_URL in django (384, by velaia)
  • Cleanup of the templates, making the output more equal (381 by ralgozino)
  • Use new location for urlresolvers in Django and add backwards compatible import (388 by felixxm)
  • Fix a bug where using sequence and then exclude in a child table would result in a KeyError
  • Some documentation fixes and cleanups.

1.2.6

  • Added get_table_kwargs() method to SingleTableMixin to allow passing custom keyword arguments to the Table constructor. (366 by fritz-k)
  • Allow the children of TableBase render in the {% render_table %} template tag. (377 by shawnnapora)
  • Refactor BoundColumn attributes to allow override of CSS class names, fixes 349 (370 by graup). Current behaviour should be intact, we will change the default in the future so it will not add the column name to the list of CSS classes.

1.2.5

  • Fixed an issue preventing the rest of the row being rendered if a BooleanColumn was in the table for a model without custom choices defined on the model field. (360)

1.2.4

1.2.3

  • Accept text parameter in FileColumn, analogous to LinkColumn (343 by graup)
  • Fix TemplateColumn RemovedInDjango110Warning fixes 346.
  • Use field name in RelatedColumnLink (350, fixes 347)

1.2.2

  • Allow use of custom class names for ordered columns through attrs. (
    329 by theTarkus)
  • Column ordering queryset passthrough (330 by theTarkus)
  • Cleanup/restructuring of documentation, (325)
  • Fixed an issue where explicitly defined column options where not preserved over inheritance (339, issue 337)
  • Fixed an issue where exclude in combination with sequence raised a KeyError (341, issue 205)

1.2.1

  • table footers (323)
  • Non-field based LinkColumn only renders default value if lookup fails. (322)
  • Accept text parameter in BaseLinkColumn-based columns. (322)
  • Pass the table instance into SingleTableMixin's get_table_pagination (320 by georgema1982, fixes 319)
  • Check if the view has paginate_by before before trying to access it. (fixes 326)

1.2.0

  • Allow custom attributes for rows (fixes 47)

1.1.8

  • Ability to change the body of the <a>-tag, by passing text kwarg to the columns inheriting from BaseLinkColumn (318 by desecho, 322)
  • Non-field based LinkColumn only renders default value if lookup fails and text is not set. (322, fixes 257)

1.1.7

  • Added Italian translation (315 by paolodina
  • Added Dutch translation.
  • Fixed {% blocktrans %} template whitespace issues
  • Fixed errors when using a column named items (316)
  • Obey paginate_by (from MultipleObjectMixin) if no later pagination is defined (242)

1.1.6

  • Correct error message about request context processors for current Django (314)
  • Skipped 1.1.5 due to an error while creating the tag.

1.1.4

  • Fix broken setup.py if Django is not installed before django-tables2 (fixes 312)

1.1.3

  • Drop support for Django 1.7
  • Add argument to CheckBoxColumn to render it as checked (original PR: 208)

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 馃

@mwolff44 mwolff44 closed this Dec 1, 2017
@mwolff44 mwolff44 deleted the pyup-update-django-tables2-1.1.2-to-1.16.0 branch April 5, 2018 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment