Git Product home page Git Product logo

django-admin-sortable2's Introduction

django-admin-sortable2

A replacement for django-admin-sortable using an unintrusive approach.

This plugin is a generic drag-and-drop ordering module for sorting objects in the List, the Stacked- and the Tabular-Inlines Views in the Django Admin interface.

This module offers simple mixin classes which enrich the functionality of any existing class derived from admin.ModelAdmin, admin.StackedInline or admin.TabluarInline.

Thus it makes it very easy to integrate with existing models and their model admin interfaces. Existing models can inherit from models.Model or any other class derived thereof. No special base class is required.

News in Version 0.6.0

Many Thanks to Michał Przybyś for adding these two features:

  • Compatible with Django 1.9.
  • In the list view, it now is possible to move items to any arbitrary page.

Project's home

https://github.com/jrief/django-admin-sortable2.

Detailled documentation on ReadTheDocs.

To ask questions or reporting bugs, please use the issue tracker.

Build status

Build Status Downloads

Why should You use it?

All available plugins which add functionality to make list views for the Django admin interface sortable, offer a base class to be used instead of models.Model. This abstract base class then contains a hard coded position field, additional methods, and meta directives.

This inhibits to create sortable abstract models. django-admin-sortable2 does not have these restrictions.

License

Copyright © 2015 Jacob Rief.

MIT licensed.

django-admin-sortable2's People

Contributors

bergsoft avatar bogdal avatar coredumperror avatar dirigeant avatar jrief avatar julienp avatar mkoistinen avatar nicholasserra avatar teddybeermaniac avatar theduke avatar vfigueiro avatar yakky avatar zowie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.