Git Product home page Git Product logo

django-icetea's People

Contributors

emiel avatar paulocheque avatar stargazer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

paulocheque

django-icetea's Issues

setup.py pegged to Django==1.5.4

Currently django-icetea is pegged to Django version 1.5.4 in setup.py. Will it work with anything else? :)

I'm working on the latest patch release 1.5.12. How about this for now?

install_requires=(
    "Django>=1.5.4,<1.6",

separate allowed_in_fields for PUT and POST requests

It would be great to have separate handler lever parameters that specify allowed_in_fields for PUT and POST requests.
This would minimize boilerplate code that checks whether certain fields that for example should only be set in a create action, are set for an update.

Fake field output

In the emitters module, during the field inspection:
A field is considered fake only if it's not a physical model field. It's a good idea, to have the fake fields override physical fields, meaning, if a field F is declared as fake, then we should treat it as fake even if F is actually a physical model field. It's a way to override the default output behavior of a field and make handler outputs more flexible.
Imagine for example, if a model has a foreign key field User, but instead of returning the whole dictionary of fields, we want to return something very specific. It's impossible to do now.

In order to do so, during the field inspection, we should scan the fake_fields tuple. Whatever is in there, should be treated as a fake field. All else should be considered physical model fields.

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.