GithubHelp home page GithubHelp logo

Comments (1)

arjanvaneersel avatar arjanvaneersel commented on August 16, 2024

Still messing to get the ListWidget to work adn I start to believe that I simply don't understand how to use the ListWidget (or in general how to deal with ListFields in forms).

I have tried to understand the source code, but this doesn't help me much. I changed to line, which uses the ListWidget to this: self.fields['tags'].widget = widgets.ListWidget(), but that results in this error:

init() takes at least 2 arguments (1 given)

What this 2nd argument should be is completely unclear to me and I can't make it out through the source code.

This package really lacks documentation and clear examples of how to use it. This isn't a complaint, but a suggestion and if I can help in anyway to write documentation, a tutorial or something like that then I'm very much willing to do with that. Although obviously using the package will still first have to be clear to me.

from django-mongodbforms.

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.