I am trying to see django-jet-demo in action, i.e. https://github.com/geex-arts/django-jet-demo, but It didn't work.
git clone https://github.com/geex-arts/django-jet-demo.gitmkvirtualenv venvcd django-jet-demopip install -r requirements/base.txtdjango makemigrations
I have the errors
1- configparser.NoSectionError: No section: 'common'
If I remove config.get(..., 'common') inside application/settings.py
2- configparser.NoSectionError: No section: 'email'
If I remove config.get(..., 'email') inside application/settings.py
3- configparser.NoSectionError: No section: 'database'
How could I fix this problem? What are the steps to make django-jet-demo works? Does it work well on your computer?
UPDATE
If I modify default.conf file, I got the same first error.
[common]
secret_key='t_g&c7^(!jb*$caaeue%$t_0pdtx5z(a7v%b6#svl1&0$5h9o-'
debug=False
[email]
[email protected]
host=localhost
port=1025
user=
password=
tls=True
[database]
ENGINE=django.db.backends.mysql
NAME=capitaine
USER=root
PASSWORD=wd9598%%DD
HOST='localhost'
PORT=3306
There is a file named
default.confwhere the values of each section are empty and you should add appropriate values for at leastsecret_key,server_emailand the[database]section.If you don't want to use
mysqlas the db backend, usesqliteinstead (without the need ofNAME,USER,PASSWORDetc).Also note that you have to create this
.conffile under the path:Of course, change
project_nameto your actual project's name.