vladimirnani / DjangoCommands

ST2/ST3 plugin for managing django project
29 stars 14 forks source link

Add root directory in settings #2

Closed lgaticaq closed 10 years ago

lgaticaq commented 10 years ago

Please add root_directory in settings. Example:

project
|-- project_name
|   |-- app1
|       |-- models.py
|       |-- views.py
|       |-- urls.py
|   |-- app2
|   |-- project_name
|   |-- templates
|   |-- static
|   |-- manage.py
|-- requirements.txt
|-- Procfile

In settings:

"root_directory": "./project_name"
vladimirnani commented 10 years ago

Can you please give an example why would you need that?

vladimirnani commented 10 years ago

I have included django_project_root in settings. Plugin will try to find manage.py there first.

lgaticaq commented 10 years ago

Thank you very much, works great.