◾️we can use **kwargs like this
from . import models
kwargs = {'name': 'private room', 'type': 'business'}
models.Room.objects.create(**kwargs)
◾️form dictionary and choices dictionary : {**form, **choices}
form = {
"city": city,
"sel_room_type": sel_room_type,
"sel_country": sel_country,
}
choices = {
"countries": countries,
"room_types": room_types,
}
return render(
request,
"rooms/search.html",
{**form, **choices},
)