AI
Size: a a a
AI
a
Б
<div class="dropdown">
<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Выпадающий input
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<input type="text" size="17" autofocus>
</div>
</div>
AM
<div class="dropdown">
<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Выпадающий input
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<input type="text" size="17" autofocus>
</div>
</div>
Б
AM
AM
V
AM
n
V
A
A
n
V
A
V
SELECT
tbl.name,
"1" as type
FROM
table as tbl
V
V
KT
SELECT
tbl.name,
"1" as type
FROM
table as tbl
from django.db.models import Value, IntegerField
Model.objects.annotate(custom=Value(1, IntegerField()))