АМ
Size: a a a
АМ
АМ
D
D
get
и возвращать форму в context
и потом в шаблоне отобразитьK
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
АМ
D
def get(self, request):В класс
form = ReviewsForm
context = {
'form': form
}
return render(request, 'template_name.html', context)
AddReview
добавь этоАМ
D
K
D
form.as_phttps://docs.djangoproject.com/en/3.2/topics/forms/#working-with-form-templates
АМ
I
RP
D
I
I
c
DN
RP