A
A
Anton2018-12-12 20:24:32
Django
Anton, 2018-12-12 20:24:32

Is it possible to update the database in django from a website page?

There is a site on a django with models and a DB.
Is it possible to update / add information from models to the database a la

a = Model()
a.name = 'name'
a.save()

directly from the site page, but not through the admin panel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-12-12
@sergey-gornostaev

Yes, you can.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question