Version bump to 1.7.6.

Updated readme.
master
Brandon Taylor 2014-10-24 20:43:12 -04:00
parent 42ae56af0b
commit 13945375f1
2 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/iambrandontaylor/django-admin-sortable.svg?branch=master)](https://travis-ci.org/iambrandontaylor/django-admin-sortable) [![Build Status](https://travis-ci.org/iambrandontaylor/django-admin-sortable.svg?branch=master)](https://travis-ci.org/iambrandontaylor/django-admin-sortable)
Current version: 1.7.5 Current version: 1.7.6
This project makes it easy to add drag-and-drop ordering to any model in This project makes it easy to add drag-and-drop ordering to any model in
Django admin. Inlines for a sortable model may also be made sortable, Django admin. Inlines for a sortable model may also be made sortable,
@ -105,7 +105,7 @@ A common use case is to have child objects that are sortable relative to a paren
admin.site.register(Project, SortableAdmin) admin.site.register(Project, SortableAdmin)
Sometimes you might have a parent model that is not sortable, but has inline child models that are. In that case define your models and admin options as such: Sometimes you might have a parent model that is not sortable, but has child models that are. In that case define your models and admin options as such:
from adminsortable.fields import SortableForeignKey from adminsortable.fields import SortableForeignKey
@ -141,7 +141,7 @@ Sometimes you might have a parent model that is not sortable, but has inline chi
admin.site.register(Category, CategoryAdmin) admin.site.register(Category, CategoryAdmin)
The `NonSortableParentAdmin` class is necessary to wire up the additional URL patterns and JavaScript that Django Admin Sortable needs to make your inline models sortable. The `NonSortableParentAdmin` class is necessary to wire up the additional URL patterns and JavaScript that Django Admin Sortable needs to make your models sortable. The child model does not have to be an inline model, it can be wired directly to Django admin and the objects will be grouped by the non-sortable foreign key when sorting.
#### Model Instance Methods #### Model Instance Methods
@ -406,10 +406,8 @@ ordering on top of that just seemed a little much in my opinion.
django-admin-sortable is currently used in production. django-admin-sortable is currently used in production.
### What's new in 1.7.5? ### What's new in 1.7.6?
- Updated admin code to handle deprecated functions in Django 1.7 and above in a more elegant fashion. - Enabled sorting of child models with a non-sortable parent model, that are not defined as inlines. Fixes issue [#93](https://github.com/iambrandontaylor/django-admin-sortable/issues/93)
- Refactored all Django version checks.
- Added new permissions check for 'change' model permissions for Django 1.8.
### Deprecation warnings ### Deprecation warnings

View File

@ -1,4 +1,4 @@
VERSION = (1, 7, 5) # following PEP 386 VERSION = (1, 7, 6) # following PEP 386
DEV_N = None DEV_N = None