;].initial= 'some_value'
class MyModelAdmin(ModelAdmin):
form = MyModelForm
On Saturday, 18 February 2017 08:35:54 UTC+2, sjsade...@gmail.com wrote:
>
> hi, i want set initial value for field when a model insert page loaded in
> django admin.
> i think i can do this work with
hi, i want set initial value for field when a model insert page loaded in
django admin.
i think i can do this work with get_field_queryset method but in django
there is no toturial for get_field_queryset.
how to do this work?
thanks ...
--
You received this message because you are subscribed
2 matches
Mail list logo