-
Notifications
You must be signed in to change notification settings - Fork 3
/
CHANGELOG
66 lines (52 loc) · 2.29 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Change history for django-templateselector
------------------------------------------
0.2.5
^^^^^^
* |FIX| Added ``:focus`` visual styles so that keyboard navigation through a form
including the widget may now indicate when selecting items.
0.2.4
^^^^^^
* |NEW| Added a `system check`_ to ensure that the templates and styles are
able to be loaded.
0.2.3
^^^^^^
* |FIX| Change the model level field validation (``TemplateField(match=...)`` to
forcibly check the given value matches the regex, in addition to checking
whether the given value exists in one of the template loaders.
* |META| Still trying to master automatic deployment from Travis. One day I'll
get sdist working again!
0.2.2
^^^^^^
* |META| Still trying to master automatic deployment from Travis. No
functionality change since ``0.2.0``
0.2.1
^^^^^^
* |META| Automatic deployment of new releases from Travis mostly worked, but the
``sdist`` is in poor shape (see commit ``44ad2a1542f2f61a73de84e0f7213bccfdb6f265``)
so I've disabled that for now. Wheels are better anyway, right? No
functionality change since ``0.2.0``
0.2.0
^^^^^^
* |FIX| prevent the "same" template showing up more than once in the
widget, which wouldn't be possible when using ``get_template`` (`#1`_)
* |NEW| If the form field (``TemplateChoiceField``) has only **one** valid template
option, and the form is unbound (ie: its an **add** form or whatever) then
pre-select the valid choice. Only happens if the field has ``required=True``
* |NEW| using the ``get_<fieldname>_display`` as a value in a ```ModelAdmin.list_display``
will now allow for sorting by the underlying value in the database. (`#2`_)
* |NEW| if the ``<fieldname>`` is used as part of a ``ModelAdmin.list_filter`` it will
show the nice display names of any used templates, rather than their internal
path representation. (`#3`_)
0.1.1
^^^^^^
* |META| First release on PyPI.
0.1.0
^^^^^
* |META| Initial development.
.. |FIX| replace:: **BUGFIX:**
.. |NEW| replace:: **FEATURE:**
.. |META| replace:: **MISC:**
.. _#1: https://github.com/kezabelle/django-template-selector/issues/1
.. _#2: https://github.com/kezabelle/django-template-selector/issues/2
.. _#3: https://github.com/kezabelle/django-template-selector/issues/3
.. _system check: https://docs.djangoproject.com/en/stable/topics/checks/