0

I want to run 2 django apps on different ports in single project. It is possible? If so, how do I do it?

Fyzzy good
  • 102
  • 7
  • No, you will need to create two separate projects. However, the projects can still share a database if you want them to. – mousetail Apr 03 '20 at 08:01

1 Answers1

0

Yes it's possible, if they are going to be two large apps, then it will be difficult to keep track of them and I would strongly recommend against it.

You need to modify your settings to be changed depending on the app you are running, for example you could pass in an environment variable to determine which app settings to use for which port.

Dean Elliott
  • 1,245
  • 1
  • 8
  • 12