O
O
organica2019-11-05 07:16:31
Django
organica, 2019-11-05 07:16:31

How to choose the optimal architecture for a project?

Dear experts, in order not to step on any rake in the future, I want to ask for your advice at the very beginning of the journey to develop a small web application. Specifically interests - what data model, classes to use for a task in view.
The task is as follows: the enterprise has a warehouse equipment fleet consisting of 33 units. included in 4 categories.
What I want to implement while learning django:
Authorization - the shortest possible login and password, bypassing the standard django rules.
Main page - list of types of equipment
Click on any of the categories - a list of specific units appears. technology
Click on a specific unit. techniques - a checklist appears for ~ 10 questions with yes-no answers. Below is the submit button, when clicked, the result with answers, equipment id, time and date, and user goes to the database.
As I currently see it, but, probably, due to inexperience, I am thinking incorrectly.
Class for vehicle types, class for specific units. technique, linked via ForeignKey to the previous one, class for the question, class for the result of the answers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Shubin, 2019-11-05
@idegree

Just try and everything will work out. Don't be afraid to make mistakes. That's when you come across something specific, then ask. This will be a rewarding experience.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question