Answer the question
In order to leave comments, you need to log in
How to insert postgresql ghb ecnfyjdrt Django-CMS url?
Hello, I wanted to use the djangocms -p command in the Django-CMS installation script. mysite
to enter the postgresql database, but when substituting the URL jdbc:postgresql://127.0.0.1:5432/mybd
It throws an error (the names of the database and the project do not match, it's normal here, I changed )
djangocms -p . test_system
Database configuration (in URL format) [default sqlite://localhost/project.db]: jdbc:postgresql://127.0.0.1:5432/test_sys
Traceback (most recent call last):
File "/home/vitali/DjangoProjects /test_system/env/bin/djangocms", line 11, in
sys.exit(execute())
File "/home/vitali/DjangoProjects/test_system/env/local/lib/python2.7/site-packages/djangocms_installer/main .py", line 15, in execute
config_data = config.parse(sys.argv[1:])
File "/home/vitali/DjangoProjects/test_system/env/local/lib/python2.7/site-packages/djangocms_installer/config/__init__.py", line 173, in parse
action(parser, args, new_val, action.option_strings )
File "/home/vitali/DjangoProjects/test_system/env/local/lib/python2.7/site-packages/djangocms_installer/config/internal.py", line 23, in __call__
raise ValueError("Database URL not recognized, try again")
ValueError: Database URL not recognized, try again
What is the correct URL?
Answer the question
In order to leave comments, you need to log in
Remove jdbc, what does the Java DataBase Connector have to do with it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question