Contents

djangorestframework 3.15.1

0

Web APIs for Django, made easy.

Web APIs for Django, made easy.

Stars: 27422, Watchers: 27422, Forks: 6717, Open Issues: 87

The encode/django-rest-framework repo was created 13 years ago and the last code push was 9 hours ago.
The project is extremely popular with a mindblowing 27422 github stars!

How to Install djangorestframework

You can install djangorestframework using pip

pip install djangorestframework

or add it to a project with poetry

poetry add djangorestframework

Package Details

Author
Tom Christie
License
BSD
Homepage
https://www.django-rest-framework.org/
PyPi:
https://pypi.org/project/djangorestframework/
GitHub Repo:
https://github.com/encode/django-rest-framework

Classifiers

  • Internet/WWW/HTTP
No  djangorestframework  pypi packages just yet.

Errors

A list of common djangorestframework errors.

Code Examples

Here are some djangorestframework code examples and snippets.

GitHub Issues

The djangorestframework package has 87 open issues on GitHub

  • Pagination OpenAPI schemas should mark fields as required
  • Improve hot path performance of is_simple_callable() and get_attribute()
  • Use PrimaryKeyRelatedField pkfield in openapi
  • Multiple search by m2m always empty
  • docs: include drf-social-oauth2 to docs.
  • Incorrect Serializer behaviour for BooleanField(required=False) when passed a QueryDict
  • [Feature request] Different serializers for input and output approach
  • TestViewNamesAndDescriptions.test_markdown test fails
  • TestNaiveDayLightSavingTimeTimeZoneDateTimeField.test_invalid_inputs fails
  • Propagate 'default' from model_field to serializer field
  • SearchFilter with unaccent
  • NullBooleanField should use forms.NullBooleanField just like django. And BooleanField should support default=True
  • Added Deprecation Warnings for CoreAPI
  • add OAS securitySchemes and security objects
  • Add a method for getting serializer field name (OpenAPI)

See more issues on GitHub

Related Packages & Articles

httpie 3.2.2

The httpie Python package is a user-friendly command-line HTTP client for the API era. It aims to simplify the interaction with web services from the command line, making it an excellent tool for testing, debugging, and interacting with APIs and HTTP servers. httpie provides a range of features, including expressive syntax, colorized output, built-in JSON support, and the ability to handle forms and file uploads. This package is a key tool in the realm of Web Development and API Testing.

fastapi 0.110.1

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Django 5.0.4

Django is a high-level web development framework that empowers Python developers to build dynamic and robust web applications quickly and efficiently. It follows the Model-View-Controller (MVC) architectural pattern, making it easy to separate the different components of an application. With its extensive built-in features, such as URL routing, templating, forms handling, and database abstraction, Django takes care of the repetitive tasks, allowing developers to focus on writing clean and maintainable code. It relies on the Python Standard Library and includes several optional dependencies, including psycopg2, mysqlclient, and pytz for database connectivity and time zone support. Django's rich ecosystem and active community make it a popular choice for building scalable and secure web applications.