D
D
dintear_koden2020-01-19 15:33:04
Django
dintear_koden, 2020-01-19 15:33:04

How to submit data to sqlite3 in Django from a form?

Can't send data from form to admin. Show some example please. For example: the site has a form

<form method="POST">
   <input type="text">
   <input type="submit">
</form>

and for example I want to send data from the form on button click to the orders model. Tell me how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-01-19
@dintear_koden

easier
but more practice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question