Skip to content

Commit 023612c

Browse files
committed
Updated README + version bump
1 parent 7598b85 commit 023612c

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [2.0.1] - 2020-04-12
4+
- _Fix_: Properly validate unique_together. (Issue #7)
5+
36
## [2.0.0] - 2020-02-27
47
- **BREAKING**: This release no longer supports Python 2 and requires Django version 2.0 and up.
58
- Python 3 compatibility
@@ -9,11 +12,11 @@
912
- Remove `pandoc` dev dependency as PyPI now supports Markdown natively.
1013

1114
## [1.9.2] - 2017-11-21
12-
- _Fix_: setup.py is now python2 compatible ([Issue #4])
15+
- _Fix_: setup.py is now python2 compatible. ([Issue #4])
1316

1417
## [1.9.1] - 2017-11-18
1518
- _Improvement_: Replaced thread unsafe workaround for Django < 1.11 with backported `get_form` implementation from Django 1.11. ([Issue #2])
16-
- _Fix_: `get_exclude` now takes into accounts fields set by `exclude` on Django < 1.11 ([Issue #3])
19+
- _Fix_: `get_exclude` now takes into accounts fields set by `exclude` on Django < 1.11. ([Issue #3])
1720

1821
## 1.9.0 - 2017-11-13
1922
- Initial release

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Suported Python and Django releases
66

7-
Current release of `django-subadmin` is **2.0.0** and it supports Python 3 only and Django versions 2.0 and up (including Django 3.0).
7+
Current release of `django-subadmin` is **2.0.1** and it supports Python 3 only and Django versions 2.0 and up (including Django 3.0).
88

99
There is also a *legacy* **1.9.3** release with support for Python 2.7 and Django versions 1.9, 1.10 and 1.11. This release is **no longer maintained and supported**, but it's made available for legacy applications.
1010

@@ -83,9 +83,9 @@ With just a few lines of code you get a fully functional `ModelAdmin`, that will
8383

8484
### Caveats
8585

86-
In order to properly support unique field validation (see #7), `SubAdmin` will inject a small mixin into the form. This is done in the `get_form` method and if you override this method in your own classes, make sure to call `super()` or `perp_subadmin_form()` directly. See `subadmin` source code for more details.
86+
In order to properly support unique field validation (see Issue #7), `SubAdmin` will inject a small mixin into the form. This is done in the `get_form` method and if you override this method in your own classes, make sure to call `super()` or `perp_subadmin_form()` directly. See `subadmin` source code for more details.
8787

88-
Also, the injected mixin `SubAdminFormMixin` overrides `validate_unique` on the form. If your custom form overrides this method as well, have a look at `subadmin` source code for ways in which it differs from stock `ModelForm` implementation.
88+
Also, the injected mixin `SubAdminFormMixin` overrides `validate_unique` on the form. If your custom form overrides this method as well, have a look at `subadmin` source code for ways in which it differs from stock `ModelForm` implementation and adjust your code as neccesarry.
8989

9090

9191
### Screenshots

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages
77

88

9-
version = '2.0.0'
9+
version = '2.0.1'
1010

1111
def read_md(file_path):
1212
with open(file_path) as fp:
@@ -33,6 +33,7 @@ def read_md(file_path):
3333
long_description_content_type = 'text/markdown',
3434
packages = find_packages(),
3535
python_requires = '>=3',
36+
setup_requires=['wheel'],
3637
include_package_data=True,
3738
zip_safe=False,
3839
classifiers=[

0 commit comments

Comments
 (0)