i know the database is automatic build, but it wasn’t me build it. so i don’t want use it
Why not? That’s why it’s there. I don’t understand the reluctance.
Have you worked your way through the Official Django Tutorial? It demonstrates that using that database is the normal way of working.
i mean, i don’t want use it to for saving files. because in my assignment proposal, I wrote not using database for saving file. that’s why i use local storage to saving files
You’re misunderstanding the purpose of the database. As I wrote (much) earlier:
yes and i’m using FileField in form but how to accessing those files?
You save the FileField in the database as part of a model.
Your view then accesses the model having that FileField to give you a variety of ways to access that file.
That’s where these references come into it:
your references is using models, which mean you must create your personal database. so, i don’t use models but form.
You have a personal database - we established that earlier.
If you’re going to use Django for this, you will use models.
Otherwise, pick a different framework to do this project.
there’s form, so why i must use models? at different web says, i can get local files from cookies. if you don’t know, it’s okay
Have you worked your way through the Official Django Tutorial yet?
If not, you should take a step back and do that first.
That will help you understand how forms and models work together for your application.
I don’t know what “different web” you might be referring to, but it’s clearly someone who doesn’t understand Django.
A form doesn’t save data.
Models save data.
an application i want to make it’s for cryptography where if you save your data client, your data client may be vulnerable to hack. for the safety, data client just go to local storage.
Yea, ok. Aside from being factually incorrect, it is also completely irrelevant to what we’re talking about here.
or maybe someone will know it, using cookies to get files
You realize that cookies aren’t permanent and can go away at any time - at which point you’ve lost your reference to that data.
yes and i agree because it’s not permanent. it;s make move safer
I don’t see how that follows, but ok. Good luck.