How to import models from one folder to another?

0

the structure of my program is as follows

PAP
-carpetaP
--carpeta1
---models
--carpeta2
---models

In models of folder1 I have some models of tables that I need for the models in the folder2 I've already tried: from folderP.folder1.models import "table name" and from..folder1.models import table name but it does not work for me, I'm new to django they could help me

    
asked by aric 31.10.2018 в 00:04
source

0 answers