mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 12:34:00 +03:00
Add 2 customization packages, rest-framework-redesign and rest-framework-material (#9088)
This commit is contained in:
parent
4c231d5b97
commit
530baa23cd
|
@ -152,6 +152,11 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
|
||||||
* [drf-standardized-errors][drf-standardized-errors] - DRF exception handler to standardize error responses for all API endpoints.
|
* [drf-standardized-errors][drf-standardized-errors] - DRF exception handler to standardize error responses for all API endpoints.
|
||||||
* [drf-api-action][drf-api-action] - uses the power of DRF also as a library functions
|
* [drf-api-action][drf-api-action] - uses the power of DRF also as a library functions
|
||||||
|
|
||||||
|
### Customization
|
||||||
|
|
||||||
|
* [rest-framework-redesign][rest-framework-redesign] - A package for customizing the API using Bootstrap 5.
|
||||||
|
* [rest-framework-material][rest-framework-material] - Material design for Django REST Framework API.
|
||||||
|
|
||||||
[cite]: http://www.software-ecosystems.com/Software_Ecosystems/Ecosystems.html
|
[cite]: http://www.software-ecosystems.com/Software_Ecosystems/Ecosystems.html
|
||||||
[cookiecutter]: https://github.com/jpadilla/cookiecutter-django-rest-framework
|
[cookiecutter]: https://github.com/jpadilla/cookiecutter-django-rest-framework
|
||||||
[new-repo]: https://github.com/new
|
[new-repo]: https://github.com/new
|
||||||
|
@ -243,3 +248,5 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
|
||||||
[django-requestlogs]: https://github.com/Raekkeri/django-requestlogs
|
[django-requestlogs]: https://github.com/Raekkeri/django-requestlogs
|
||||||
[drf-standardized-errors]: https://github.com/ghazi-git/drf-standardized-errors
|
[drf-standardized-errors]: https://github.com/ghazi-git/drf-standardized-errors
|
||||||
[drf-api-action]: https://github.com/Ori-Roza/drf-api-action
|
[drf-api-action]: https://github.com/Ori-Roza/drf-api-action
|
||||||
|
[rest-framework-redesign]: https://github.com/youzarsiph/rest-framework-redesign
|
||||||
|
[rest-framework-material]: https://github.com/youzarsiph/rest-framework-material
|
||||||
|
|
BIN
docs/img/rfm.png
Normal file
BIN
docs/img/rfm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 134 KiB |
BIN
docs/img/rfr.png
Normal file
BIN
docs/img/rfr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
|
@ -65,6 +65,27 @@ For more specific CSS tweaks than simply overriding the default bootstrap theme
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### Third party packages for customization
|
||||||
|
|
||||||
|
You can use a third party package for customization, rather than doing it by yourself. Here is 2 packages for customizing the API:
|
||||||
|
|
||||||
|
* [rest-framework-redesign][rest-framework-redesign] - A package for customizing the API using Bootstrap 5. Modern and sleek design, it comes with the support for dark mode.
|
||||||
|
* [rest-framework-material][rest-framework-material] - Material design for Django REST Framework.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Django REST Framework Redesign][rfr]
|
||||||
|
|
||||||
|
*Screenshot of the rest-framework-redesign*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Django REST Framework Material][rfm]
|
||||||
|
|
||||||
|
*Screenshot of the rest-framework-material*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### Blocks
|
### Blocks
|
||||||
|
|
||||||
All of the blocks available in the browsable API base template that can be used in your `api.html`.
|
All of the blocks available in the browsable API base template that can be used in your `api.html`.
|
||||||
|
@ -162,3 +183,7 @@ There are [a variety of packages for autocomplete widgets][autocomplete-packages
|
||||||
[bcomponentsnav]: https://getbootstrap.com/2.3.2/components.html#navbar
|
[bcomponentsnav]: https://getbootstrap.com/2.3.2/components.html#navbar
|
||||||
[autocomplete-packages]: https://www.djangopackages.com/grids/g/auto-complete/
|
[autocomplete-packages]: https://www.djangopackages.com/grids/g/auto-complete/
|
||||||
[django-autocomplete-light]: https://github.com/yourlabs/django-autocomplete-light
|
[django-autocomplete-light]: https://github.com/yourlabs/django-autocomplete-light
|
||||||
|
[rest-framework-redesign]: https://github.com/youzarsiph/rest-framework-redesign
|
||||||
|
[rest-framework-material]: https://github.com/youzarsiph/rest-framework-material
|
||||||
|
[rfr]: ../img/rfr.png
|
||||||
|
[rfm]: ../img/rfm.png
|
||||||
|
|
Loading…
Reference in New Issue
Block a user