-1

I started a django project (startproject) and then I created an app (startapp). Can I define models in my project directory and refer to them in my app code?

three-cups
  • 4,375
  • 3
  • 31
  • 41

1 Answers1

0
from yourapp.models import Yourmodel
Undo
  • 25,519
  • 37
  • 106
  • 129
Alex Karahanidi
  • 921
  • 6
  • 13