Various issues with the settings "module"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-django (Juju Charms Collection) |
New
|
Undecided
|
Patrick Hetu |
Bug Description
Hello,
I am trying to deploy my own Django project with this promising charm however I am unable to find the right configuration (config.yaml) to make it work. My problem is related to the structure of my site, created with django-admin.py from Django 1.7+
django-admin.py startproject project
~/project$ tree .
.
├── manage.py
└── project
├── __init__.py
├── settings.py
├── urls.py
└── wsgi.py
As you can see manage.py is the only file in the site directory, the other files of the project are stored into a sub-directory.
It is why, after 2 hour of configuration tweaking & testing, I am still not able to configure the charm according this structure.
For my project the case is even more complicated because I created a directory settings/ containing :
~/my_complicate
...
├── my_complicated_
│ ├── __init__.py
│ ├── settings
│ │ ├── base.py
│ │ ├── __init__.py
│ │ └── srv204.py
│ ├── urls.py
│ └── wsgi.py
Of course this works flawless when running my site locally ...
Bonus question : The option "requirements_
Changed in python-django (Juju Charms Collection): | |
assignee: | nobody → Patrick Hetu (patrick-hetu) |