Skip to content

Commit 530baa2

Browse files
authored
Add 2 customization packages, rest-framework-redesign and rest-framework-material (#9088)
1 parent 4c231d5 commit 530baa2

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

docs/community/third-party-packages.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
152152
* [drf-standardized-errors][drf-standardized-errors] - DRF exception handler to standardize error responses for all API endpoints.
153153
* [drf-api-action][drf-api-action] - uses the power of DRF also as a library functions
154154

155+
### Customization
156+
157+
* [rest-framework-redesign][rest-framework-redesign] - A package for customizing the API using Bootstrap 5.
158+
* [rest-framework-material][rest-framework-material] - Material design for Django REST Framework API.
159+
155160
[cite]: http://www.software-ecosystems.com/Software_Ecosystems/Ecosystems.html
156161
[cookiecutter]: https://github.com/jpadilla/cookiecutter-django-rest-framework
157162
[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
243248
[django-requestlogs]: https://github.com/Raekkeri/django-requestlogs
244249
[drf-standardized-errors]: https://github.com/ghazi-git/drf-standardized-errors
245250
[drf-api-action]: https://github.com/Ori-Roza/drf-api-action
251+
[rest-framework-redesign]: https://github.com/youzarsiph/rest-framework-redesign
252+
[rest-framework-material]: https://github.com/youzarsiph/rest-framework-material

docs/img/rfm.png

134 KB
Loading

docs/img/rfr.png

142 KB
Loading

docs/topics/browsable-api.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,27 @@ For more specific CSS tweaks than simply overriding the default bootstrap theme
6565

6666
---
6767

68+
### Third party packages for customization
69+
70+
You can use a third party package for customization, rather than doing it by yourself. Here is 2 packages for customizing the API:
71+
72+
* [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.
73+
* [rest-framework-material][rest-framework-material] - Material design for Django REST Framework.
74+
75+
---
76+
77+
![Django REST Framework Redesign][rfr]
78+
79+
*Screenshot of the rest-framework-redesign*
80+
81+
---
82+
83+
![Django REST Framework Material][rfm]
84+
85+
*Screenshot of the rest-framework-material*
86+
87+
---
88+
6889
### Blocks
6990

7091
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
162183
[bcomponentsnav]: https://getbootstrap.com/2.3.2/components.html#navbar
163184
[autocomplete-packages]: https://www.djangopackages.com/grids/g/auto-complete/
164185
[django-autocomplete-light]: https://github.com/yourlabs/django-autocomplete-light
186+
[rest-framework-redesign]: https://github.com/youzarsiph/rest-framework-redesign
187+
[rest-framework-material]: https://github.com/youzarsiph/rest-framework-material
188+
[rfr]: ../img/rfr.png
189+
[rfm]: ../img/rfm.png

0 commit comments

Comments
 (0)