Answer the question
In order to leave comments, you need to log in
Project folder name: how to use the name when committing to Github and importing modules?
How do you name the folder that contains the project's modules?
I ran into a situation - I have a big project, I make commits on Github. I only commute the contents of the folder (most likely, this is a mistake). The problem occurs when importing modules from a folder. Actually, either write crookedly and obliquely through: from ..application.forms import LoginForm
or it's fine, but you have to specify the folder name: from Dater.application.forms import LoginForm
Project structure:
Actually, question 2:
1) How to deal with large projects and what structure to commit them to?
2) What thoughts about import through dots?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question