Code Monkey home page Code Monkey logo

django-popupcrud's People

Contributors

ak4zh avatar harikvpy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

django-popupcrud's Issues

Add search

Ideally search across the whole table or search based on client configurable fields.

Action column is displayed in list view when all actions are disabled

Action column, that contains links to Edit,Delete or user defined actions should be hidden if the list view explicitly disables all per item actions. That is, CrudViewSet is used purely as a list view as below:

class ModelCrudViewSet(PopupCrudViewSet):
    ...
    def get_edit_url(self, obj):
        return None

    def get_delete_url(self, obj):
        return None

Change *_permission_required to a dict

Instead of separate class attributes for permissions to individual views, use a dictionary to store all required permissions for individual CRUD views, keyed by their view name. For example:

permissions_required = {
    'list': (..),
    'create': (..),
    'detail': (..),
    'update': (..),
    'delete': (..),
}

Demo Project ALLOWED_HOSTS

not a big deal...

my local dev host is not named kaveri although yours might be...

I generally add 127.0.0.1 to my ALLOWED_HOSTS

Modal popup does not work when using AdminLTE theme

My project is using AdminLTE theme so when I add the AdminLTE css the model popups does not work anymore.
Popups works after removing the theme css.

It may be happening because AdminLTE uses bpootstrap4

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.