Pycharm: Non Standard Django Settings File Location

I use a modified Django layout that differs from the normal start project settings.  There doesn't seem to be an option to specifiy the location of my settings file to run the server.

My directory structure looks something like this.

|-- apps

|    `--app1

|    `--app2

|-- bin

|    `--manage.py

|-- conf

|    `--settings.py

|    `--urls.py

etc..

Is there any plan to add this functionality or am I just missing something?

0

Hello Charlie,

This looks like http://youtrack.jetbrains.net/issue/PY-455

It will be implemented in one of the nearest updates; feel free to vote for

the issue.

I use a modified Django layout that differs from the normal start

project settings.  There doesn't seem to be an option to specifiy the

location of my settings file to run the server.

My directory structure looks something like this.

|-- apps

|    `--app1

|    `--app2

|-- bin

|    `--manage.py

|-- conf

|    `--settings.py

|    `--urls.py

etc..

Is there any plan to add this functionality or am I just missing

something?

---

Original message URL:

http://www.jetbrains.net/devnet/message/5255981#5255981

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Under the latest build 96.596 using the layout above I'm still not able to select my conf/settings.py I'm not able to select my settings file from the dropdown in the django preferences menu.

The select box is not populated at all.  Perhaps this field could be changed to a take a path like the template root and django root settings above.

I checked out the bug you listed above, however I do not think that is the same issue.

Here my projects current structure:

project
|-- apps
|   |-- blog
|   |-- bookmarks
|   |-- commentmods
|   |-- contact
|   |-- customtags
|   `-- utils
|-- bin
|   `-- manage.py
|-- conf
|   |-- __init__.py
|   |-- search_sites.py
|   |-- settings.py
|   |-- settings_local.py
|   `-- urls.py
|-- db
|-- fabfile.py
|-- fixtures
|-- indexes
|-- media
`-- templates

Here is a screenshot of my django settings:

Screen shot 2010-07-10 at 11.58.38 PM.png

Thanks,

Charlie

Message was edited by: Charlie Choiniere



Attachment(s):
Screen shot 2010-07-10 at 11.58.38 PM.png
Screen shot 2010-07-10 at 11.58.38 PM.png
0

请先登录再写评论。