0
votes
16
views
How to export database mongodb
posted at Aug. 15, 2019, 2:21 p.m. - 6 days, 4 hours ago

To export your mongodb, you can using mongoexport command, but previously you should install the mongodb-clients: sudo apt install mongodb-clients mongoexport is a command-line tool that produces a JSON or …

mongodb bash database
0
votes
27
views
Creating a django logs with mongodb
posted at July 18, 2019, 11:24 a.m. - 1 month ago

Previously, you need to install the mongodb first before using this django mongodb log; This installation is for Ubunntu 16.04 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 echo "deb http://repo.mongodb.org/apt/ubuntu …

0
votes
71
views
How to setup PostgreSQL Database in Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 1 month ago

How to setup PostgreSQL Database in Django, this night I wanna share simple tutorial how to setup PostgreSQL Database in Django. This problem has been asked and solved with user …

database python django
0
votes
65
views
E11000 duplicate key error index in mongodb
posted at July 12, 2018, 10:13 p.m. - 1 year, 1 month ago

E11000 duplicate key error index in mongodb. I found this error after migrating my field from “unique” to “non-unique”. And in this problem we use mongoengine for flask. First, i …

0
votes
89
views
How to implement the ForeignKey for multi databases Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 1 month ago

Previously i had confused how to handle this problem, this problem also already asked by someone on stackoverflow (Cross Database foreign key error) and has the best answered by someone …

0
votes
70
views
Step by step how to use multiple databases with database routers in Django
posted at July 12, 2018, 10:13 p.m. - 1 year, 1 month ago

1. Please create a new superuser for the second/default/current database. Because you will getting this issue that i already asked before: https://gitter.im/django/django?at=5810b0b5806316005dc11f46 i use multiple site, multiple env, multiple project, …