restless icon indicating copy to clipboard operation
restless copied to clipboard

A lightweight REST miniframework for Python.

Results 36 restless issues
Sort by recently updated
recently updated
newest added

The `django.conf.urls.url` function has been deprecated since version [3.1](https://docs.djangoproject.com/en/3.2/ref/urls/#url) and wil be removed on version 4. I replaced it with the easier to read `path` function. Edit: I also added...

When a user pass the `p` parameter in query, Django returns a string. The string needs to be casted to integer in order to be used in the paginator. Otherwise,...

https://github.com/toastdriven/restless/blob/661593b7b43c42d1bc508dec795356297991255e/restless/exceptions.py#L36 Should be something like that: `self.msg = msg if msg else self.__class__.msg`

Currently, you could be left with a circular import problem if your preparer references another preparer that hasn't been defined yet and you can't change the order of the preparers...

I can not upload files with restless. It raises exception before my Resource's `def create(*args ,**kwargs)` method and seems to serialize file content as json. I am using httpie for...

How does FieldsPreparer catch missing keys? There is https://github.com/toastdriven/restless/blob/661593b7b43c42d1bc508dec795356297991255e/restless/preparers.py#L109 instead of ``` value = data.get(part) ``` so I get KeyError. Should it be fixed?

I use this on almost every project I use restless with. It would be great if you could add it to the project. from django.conf.urls import url from django.views.decorators.csrf import...

Add support for HTTP `PATCH` method.

Allow overriding the response status from inside one of the create/list/detail/etc methods.

What do you guys think about native support to pagination? We could implement that using Django paginator (for example) since it doesn't have external dependencies. That's helpful in most listing...