0

Foreign key between two Django applications

In Django, I would like to link foreign key from another app. Bellow is the method for same application, but in my case, they are two different applications on same project. App client Client Model : name = models.CharField(max_length=64) App Invoice Model : App invoice Invoice model : client = models.ForeignKey('Client', on_delete=models.CASCADE)

8th Apr 2020, 2:26 PM
Youssef EL OTMANI
Youssef EL OTMANI - avatar
1 Respuesta
0
got it, thank youuuu
8th Apr 2020, 9:31 PM
Youssef EL OTMANI
Youssef EL OTMANI - avatar