Giter Site home page Giter Site logo

django-sliver's People

Contributors

bryant1410 avatar jarcoal avatar smcoll avatar supervacuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

django-sliver's Issues

URIMixin

I'm sorry for not making a pull request for this but.

There is probably a typo which raises an error about the URIMixin

URI should be capitalized:
https://github.com/jarcoal/django-sliver/blob/master/sliver/mixins.py#L101

data = super(URIMixin, self).dehydrate(model, fields, exclude, relationship_prefix)

In the future I'll correctly fork and make pull requests not just describe the problems. Great job on this nice clean library!

Implement mimetypes

For example, a JSONMixin with a ResourceClass will return an HttpResponse of the "text/html" type, when it should be "application/json".

This is a quick fix:

def render_to_response(self, context, status=200):
        """ Out to the tubes...
        """
        return HttpResponse(self.render(context), mimetype="application/json", status=status)

But each mixin should probably report its own mimetype, which the render_to_response() method could respect.

No license information

We're interested in evaluating the software, but can't find licensing information anywhere. If you really want this to be open source, please attach a license to it. Best would be a combination of:

  • a LICENSE file in the root directory specifying the license info. Eg, a file containing a BSD-type license or MIT or GPL.
  • a header in each file specifying the copyright/license.

Either one will do in a pinch, but both are best.

But we (at Disney Animation) cannot even establish an evaluation of the software without some kind of indication of copyright/licensing.

Kevin
Technology Manager
Walt Disney Animation Studios

Do a release on PyPI

I bumped the version number to 0.1.1, and did a test publication to TestPI, but I don't have permission to publish to the main index. Would you mind? ๐Ÿ™

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.