@@ -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_24 "> v0.1.24</ a >
186+ </ li >
184187 < li class ="nav-item ">
185188 < a class ="nav-link " href ="#v0_1_23 "> v0.1.23</ a >
186189 </ li >
@@ -209,7 +212,7 @@ <h1>Documentation</h1>
209212 < div class ="row ">
210213 < div class ="col-sm-6 col-lg-4 ">
211214 < ul class ="list-unstyled ">
212- < li > < strong > Version:</ strong > 1.1.23 </ li >
215+ < li > < strong > Version:</ strong > 1.1.24 </ li >
213216 < li >
214217 < strong > Author:</ strong >
215218 < a href ="
mailto:[email protected] "
target ="
_blank "
@@ -224,7 +227,7 @@ <h1>Documentation</h1>
224227 < strong class ="font-weight-700 "> Created:</ strong > 7 March,
225228 2023
226229 </ li >
227- < li > < strong > Updated:</ strong > 16 March, 2023</ li >
230+ < li > < strong > Updated:</ strong > 25 March, 2023</ li >
228231 </ ul >
229232 </ div >
230233 </ div >
@@ -1257,7 +1260,7 @@ <h3>InlineModelAdmin options</h3>
12571260 # The name of the foreign key on the model.
12581261 # In most cases this will be dealt with automatically, but fk_name must be specified explicitly
12591262 # if there are more than one foreign key to the same parent model.
1260- fk_name: str
1263+ fk_name: str | None = None
12611264
12621265 # This controls the maximum number of forms to show in the inline.
12631266 # This doesn't directly correlate to the number of objects, but can if the value is small enough.
@@ -1320,7 +1323,6 @@ <h3>ForeignKey fields</h3>
13201323
13211324class FriendshipInline(TortoiseInlineModelAdmin):
13221325 model = Friendship
1323- fk_name = "to_person"
13241326
13251327class PersonAdmin(TortoiseModelAdmin):
13261328 inlines = (
@@ -1353,6 +1355,18 @@ <h2>Changelog</h2>
13531355 < hr class ="small-divider " />
13541356 <!-- <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> -->
13551357
1358+ < h3 id ="v0_1_24 ">
1359+ Version 0.1.24
1360+ < small class ="text-muted "> (25 March, 2024)</ small >
1361+ </ h3 >
1362+ < ul class ="changelog ">
1363+ < li >
1364+ Fixed a bug with inline fk_name field. Added pydantic as
1365+ dependency.
1366+ </ li >
1367+ </ ul >
1368+ < hr class ="small-divider " />
1369+
13561370 < h3 id ="v0_1_23 ">
13571371 Version 0.1.23
13581372 < small class ="text-muted "> (16 March, 2023)</ small >
0 commit comments