🎨 drf-material
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
🛠️ 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drf_material-0.3.4.tar.gz | 12.8 kB | Without provenance | Details for drf_material-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drf_material-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for drf_material-0.3.4-py3-none-any.whl |
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
|
Security for drf-material 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.