Skip to main content

🎨 drf-material

MIT License Ruff Django CI Upload Python Package PyPI - Downloads

drf-material is a project that gives a sleek and elegant look to the browsable API of Django REST Framework using Material Design.

We want to make the API more appealing and intuitive for developers and users alike. That's why we created a beautiful and responsive design that follows the Material Design principles and guidelines.

Our goal with drf-material is to make your work easier and faster when working with Django REST Framework. We think that by improving the user experience, we can help you create stunning and powerful web applications.

So if you're looking for a better way to work with Django REST Framework, don't hesitate to try drf-material. We're sure you'll be impressed by it as much as we are!

🌟 Features

  • Modern design: drf-material uses Material Design, a design system based on Google's Material Design and Bootstrap's components, to create a sleek and elegant design for the API.
  • Accessibility: drf-material follows the best practices for web accessibility, ensuring that the API is easy to use for everyone, regardless of their abilities or preferences.
  • Form input max length indicators: drf-material 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-material 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-material 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 data types, formats, patterns, ranges, and more.

Screenshots

DRF Material DRF Material

🛠️ Get started

To use drf-material, follow these simple steps:

Install the package:

pip install drf-material

Add drf_material to INSTALLED_APPS setting, before rest_framework

# settings.py

INSTALLED_APPS = [
    ...,
    'drf_material',
    '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-material 0.3.4

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-material 0.3.4
File Size Uploaded
drf_material-0.3.4.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drf-material 0.3.4
File Interpreter ABI Platform
drf_material-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 48.3 kB

Release files / drf_material-0.3.4.tar.gz

Download URL drf_material-0.3.4.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbcac193c1067ae0372b270edde00f2d1f46b0556c3ee8085ba6cafd0c6602a4
BLAKE2b-256 checksum
How to use checksums
1dd7fac0b0b78af69f68469c2859c5c2b7ba05b59d27385ebe4ddfaee31eab0d
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_material-0.3.4-py3-none-any.whl

Download URL drf_material-0.3.4-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef04287d78f8aac11b91e1cbadfab4e8c292deb7b5136e8e7c16769b31238546
BLAKE2b-256 checksum
How to use checksums
c369ba5522d021686813ad857be1aa8a019ea6b852d6694b90ffbb0319e0f5c2
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.3.4 This release

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

0.2.9

2 release files

0.2.8

1 release file

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

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