Do I have to use Models?

Hello, I’m new to django and I’m currently going through the polls app tutorial. I plan on building a S3 file manager and was wondering if I need to have models for this. From what I understand models are basically ways to query sql database. Would it be possible to just write my boto3 functions in the views and render the returns to the templates. I wouldn’t be saving any user input. Appreciate any advice or direction anyone has.


More accurately, a Model is a Python representation of a table, and instances of that model are rows within the table.

Yes. There is no requirement for user-defined models. However, Django itself requries tables to function, so you will still need a database and Django will be creating its own tables.