Skip to main content

🚀 drf-redesign

Black Ruff Publish Django CI PyPI - Downloads

drf-redesign is a project that gives a fresh look to the browse-able API of Django REST Framework using Bootstrap 5.

We want to make the API more appealing and intuitive for developers and users alike. That's why we created a stylish and modern design that makes the API easier to navigate and interact with. One of the coolest features of drf-redesign is the dark mode option. You can switch to a dark theme that is not only eye-friendly but also super cool.

Our goal with drf-redesign is to make your life easier when working with Django REST Framework. We think that by enhancing the user experience, we can help you save time and be more efficient.

So if you're looking for a better way to work with Django REST Framework, don't miss drf-redesign. We're sure you'll enjoy it as much as we do!

🌟 Features

  • Modern design: drf-redesign uses Bootstrap 5, the latest version of the most popular front-end framework, to create a sleek and responsive design for the API.
  • Accessibility: drf-redesign follows the best practices for web accessibility, ensuring that the API is easy to use for everyone, regardless of their abilities or preferences.
  • Light and dark themes: drf-redesign lets you choose between a light or a dark color scheme for the API, depending on your mood or environment. You can switch between the themes with a simple click of a button.
  • Bootstrap icons: drf-redesign uses Bootstrap icons, a set of open source icons designed for Bootstrap components, to add some visual flair to the API. The icons are scalable, customizable, and easy to use.
  • Form input max length indicators: drf-redesign shows the maximum length of each form input field, so you know how much data you can enter. The indicators also change color when you reach the limit, giving you visual feedback.
  • Form inputs required indicators: drf-redesign marks the required form input fields with an asterisk (*), so you know which fields are mandatory to submit the form. The indicators also show an error message if you try to submit the form without filling the required fields.
  • Browser form validation: drf-redesign uses the built-in browser form validation features, such as HTML5 attributes, to validate the form input data before sending it to the server. The validation checks for formats, patterns, ranges, and more.

Screenshots

Root

List

Detail

🛠️ Get started

To use drf-redesign, follow these simple steps:

Install the package:

pip install drf-redesign

Add drf_redesign to INSTALLED_APPS setting, before rest_framework

# settings.py

INSTALLED_APPS = [
    ...,
    'drf_redesign',
    'rest_framework',
    ...
]

That's it! You're ready to go. 😎

I hope you find this useful. Let me know if you have any feedback or questions. 😊

Metadata

Release files for drf-redesign 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drf-redesign 0.6.0
File Size Uploaded
drf_redesign-0.6.0.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drf-redesign 0.6.0
File Interpreter ABI Platform
drf_redesign-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.8 kB

Release files / drf_redesign-0.6.0.tar.gz

Download URL drf_redesign-0.6.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5762977db99d81e5a3539c2bad671d5738e93d8e946013c479a7c5e8f9e51d47
BLAKE2b-256 checksum
How to use checksums
8ee0b343c2497300271655cc8878b6609acedcb43b623887a7df2e1a34623be2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.7 Windows/11

Release files / drf_redesign-0.6.0-py3-none-any.whl

Download URL drf_redesign-0.6.0-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c86104ed9cbf2401a2a94967b982edcb93a76ab7be2196f2f088924109000ca5
BLAKE2b-256 checksum
How to use checksums
9c0525a2ec0e316892d77e7ca046d5b532c6c1632c14415ea0c3514b663cb415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.7 Windows/11

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page