Coder Social home page Coder Social logo

Comments (3)

bbirand avatar bbirand commented on August 21, 2024

Ok, I see now the distinction between the shared ruleset and the Django permission ruleset.. But given that this is called "django-rules" and most people are therefore likely to use it from Django, would it not make sense to mainly talk about the Django version, and save the generic version to an appendix or so?

from django-rules.

dfunckt avatar dfunckt commented on August 21, 2024

Hi, excuse my late reply. All fair points -- I'm aware docs can be improved, but then again isn't it always the case ;) Being both the author of the library and its documentation, it's easy to lose newcomer's perspective, so your feedback is valuable.

I'll try to restructure the readme a bit and clarify some points you brought up so that things will become clearer. In the meantime, if you still have specific questions, I'd be happy to answer.

from django-rules.

Bluejanis avatar Bluejanis commented on August 21, 2024

Hey I am a newcomber both to django and this library. I tried configuring rules to be able to set object permissions within the django admin interface. From the docs I got it all configured, but I had to read the whole doc, since the django part doesn't explain (or link) the predicates.
And I didnt get it working.
When a predicate gets called django only fills the first parameter. The object is always None.

from django-rules.

Related Issues (20)

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.