GithubHelp home page GithubHelp logo

stefanfoulis / django-admin-enhancer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from charettes/django-admin-enhancer

0.0 2.0 0.0 117 KB

A simple django app that provides change and deletion links to FK fields in the admin

License: MIT License

Python 85.43% JavaScript 14.57%

django-admin-enhancer's Introduction

django-admin-enhancer

Overview

A simple django app that provides change and deletion links to FK fields in the admin while ticket #13163 and #13165 are not fixed.

Note that this apps works with django >= 1.4 only.

Display

selected

selected

Video displaying interaction with the widget

Usage

First, add 'admin_enhancer' to your INSTALLED_APPS to avoid getting TemplateDoesNotExist errors.

Make sure to mix admin_enhancer.EnhancedModelAdminMixin when dealing with django.contrib.admin.ModelAdmin subclasses and admin_enhancer.EnhancedAdminMixin when dealing with django.contrib.admin.InlineModelAdmin at both ends of the relationship.

If edition and deletion controls appears but the popup is not closed nor is the select box updated your ModelAdmin subclass referenced by the field in question is probably not mixed with admin_enhancer.EnhancedModelAdminMixin.

For some examples take a look here.

django-admin-enhancer's People

Contributors

charettes avatar henryl avatar yakky avatar

Watchers

James Cloos 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.