@@ -181,6 +181,9 @@ <h4 class="title">FastAdmin</h4>
181181 < li class ="nav-item ">
182182 < a class ="nav-link " href ="#changelog "> Changelog</ a >
183183 < ul class ="nav flex-column ">
184+ < li class ="nav-item ">
185+ < a class ="nav-link " href ="#v0_1_30 "> v0.1.30</ a >
186+ </ li >
184187 < li class ="nav-item ">
185188 < a class ="nav-link " href ="#v0_1_29 "> v0.1.29</ a >
186189 </ li >
@@ -227,7 +230,7 @@ <h1>Documentation</h1>
227230 < div class ="row ">
228231 < div class ="col-sm-6 col-lg-4 ">
229232 < ul class ="list-unstyled ">
230- < li > < strong > Version:</ strong > 0.1.29 </ li >
233+ < li > < strong > Version:</ strong > 0.1.30 </ li >
231234 < li >
232235 < strong > Author:</ strong >
233236 < a href ="mailto:vsdudakov@gmail.com " target ="_blank "
@@ -800,6 +803,14 @@ <h3>ModelAdmin options</h3>
800803 < p class ="lead "> Base options:</ p >
801804 < pre >
802805 < code class ="language-python ">
806+ # Widgets for fields. Overload widgets in your ModelAdmin class using this parameter.
807+ # It contains widget type and default widget props for type.
808+ # Example of usage:
809+ # form_fields_widgets = {
810+ # "description": (WidgetType.RichTextArea, {})
811+ # }
812+ form_fields_widgets: dict[str, tuple[WidgetType, dict]] = {}
813+
803814 # A list of actions to make available on the change list page.
804815 # You have to implement methods with names like action_name in your ModelAdmin class and decorate them with @action decorator.
805816 # Example of usage:
@@ -1367,6 +1378,38 @@ <h2>Changelog</h2>
13671378 </ p >
13681379 < hr class ="small-divider " />
13691380 <!-- <p class="alert alert-info mb-5"> For Future Updates Follow Us <a target="_blank" href="http://themeforest.net/user/harnishdesign?ref=HarnishDesign">@themeforest</a> / <a target="_blank" href="http://facebook.com/harnishdesign">@facebook</a> / <a target="_blank" href="http://twitter.com/harnishdesign">@twitter</a> / <a target="_blank" href="https://dribbble.com/harnishdesign">@Dribbble</a></p> -->
1381+ < h3 id ="v0_1_30 ">
1382+ Version 0.1.30
1383+ < small class ="text-muted "> (26 March, 2024)</ small >
1384+ </ h3 >
1385+ < ul class ="changelog ">
1386+ < li > Fixed frontend part of inlines.</ li >
1387+ < li > Added wysiwig editor and RichTextArea widget type.</ li >
1388+ < li >
1389+ Added form_fields_widgets parameter to configure widgets fr
1390+ fields easily.
1391+ </ li >
1392+ < li > Bug fixes.</ li >
1393+ </ ul >
1394+ < hr class ="small-divider " />
1395+
1396+ < h3 id ="v0_1_29 ">
1397+ Version 0.1.29
1398+ < small class ="text-muted "> (26 March, 2024)</ small >
1399+ </ h3 >
1400+ < ul class ="changelog ">
1401+ < li > Bug fixes.</ li >
1402+ </ ul >
1403+ < hr class ="small-divider " />
1404+
1405+ < h3 id ="v0_1_28 ">
1406+ Version 0.1.28
1407+ < small class ="text-muted "> (26 March, 2024)</ small >
1408+ </ h3 >
1409+ < ul class ="changelog ">
1410+ < li > Bug fixes.</ li >
1411+ </ ul >
1412+ < hr class ="small-divider " />
13701413
13711414 < h3 id ="v0_1_27 ">
13721415 Version 0.1.27
@@ -1383,7 +1426,9 @@ <h3 id="v0_1_26">
13831426 </ h3 >
13841427 < ul class ="changelog ">
13851428 < li > Fixed bugs.</ li >
1386- < li > Added RichTextArea WidgetType based on quill wysiwig editor.</ li >
1429+ < li >
1430+ Added RichTextArea WidgetType based on quill wysiwig editor.
1431+ </ li >
13871432 </ ul >
13881433 < hr class ="small-divider " />
13891434
0 commit comments