Giter Site home page Giter Site logo

alerion / django-rpc Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 5.0 359 KB

RPC for Django and jQuery. Inspired by Ext.Direct from ExtJs.

Home Page: http://django-rpc.readthedocs.org/en/latest/

License: MIT License

Makefile 0.98% Python 28.53% JavaScript 60.57% CSS 0.03% HTML 9.89%

django-rpc's People

Contributors

aleosin avatar alerion avatar shamanu4 avatar ximepa avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-rpc's Issues

add ability to upload files

такая возможность есть в jQuery forms и в серверной части rpc, осталось только направить все это в нужное русло.

check if failure callback available

в коде есть такая проверка, но я думаю что такой конфиг распознает как параметр запроса. вот по этому походу в ExtJs и использовалось количество аргументов

CSRF issue for @form_handler api methods

Now it is impossible to add X-CSRFToken header via $.ajaxSetup because form submitting does not use $.ajax (uses iframe). So if we have dynamic form without hidden {% csrf_token %} input, we'll get 403 (Forbidden) error.

fix form handling

It is possible send any data to form handling rpc method. And if you send something like {'object': [123]} for ModelChoiceField - you get ValueError.

args and kwargs for reverse

I do reverse(o.url, args=self.url_args, kwargs=self.url_kwargs), in RpcRouterJSONEncoder. But you can't use args and kwargs for reverse at the same time?

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.