How to Migrate Data from SQLite to PostgreSQL in Django

  Рет қаралды 6,904

Code With Clinton

Code With Clinton

Күн бұрын

Пікірлер
@SpRaT92
@SpRaT92 Ай бұрын
you're a lifesaver! thank you so much!
@CodeWithClinton
@CodeWithClinton Ай бұрын
@@SpRaT92 You are welcome.
@TDD_SA
@TDD_SA Жыл бұрын
Thanks man, that was very simple and straightforward..I hope to see videos like this in future 🔮
@CodeWithClinton
@CodeWithClinton Жыл бұрын
Sure, more videos to come. Thank you.
@adrianwafula8667
@adrianwafula8667 Жыл бұрын
This is a good video, although my data.json didnt load i learnt smth! suscribed for sure
@CodeWithClinton
@CodeWithClinton Жыл бұрын
Thank you, what error did you face?
@samitpaudel7886
@samitpaudel7886 Жыл бұрын
Thanks works perfectly fine!
@CodeWithClinton
@CodeWithClinton Жыл бұрын
You're welcome.
@mystoryuganda
@mystoryuganda 2 жыл бұрын
Thank you for sharing, am learning something from your channel
@CodeWithClinton
@CodeWithClinton 2 жыл бұрын
You are welcome.
@gencaypolat8901
@gencaypolat8901 2 жыл бұрын
Thank you man!
@CodeWithClinton
@CodeWithClinton 2 жыл бұрын
You are welcome.
@infohub3709
@infohub3709 2 жыл бұрын
Thanks for sharing bro. But please, I encountered this (UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte) error when I ran the code "python manage.py loaddata data.json". Anyway around this please?
@CodeWithClinton
@CodeWithClinton 2 жыл бұрын
Make sure you are working on 'utf-8'
@infohub3709
@infohub3709 2 жыл бұрын
@@CodeWithClinton that's the problem. Working in UTF-8 gave me the error. But changing to UTF-16 solved the problem for me.
@CodeWithClinton
@CodeWithClinton 2 жыл бұрын
@@infohub3709 Wow, 'utf-16' caused me some errors. 😅😅. Thank God your code is working.
@robinsonbrz
@robinsonbrz 2 жыл бұрын
@@infohub3709 I had the same problem, even using UTF-8 importing and exporting. I solve the problem opening the data.json on notepad and saving the file as UTF8. That way loaddata worked just fine. All the tutorial worked perfect. thanks to @Code With Clinton .
@frameff9073
@frameff9073 2 жыл бұрын
Thank you
@CodeWithClinton
@CodeWithClinton 2 жыл бұрын
You're welcome. 😀
@JoseAntonio-sn6sf
@JoseAntonio-sn6sf Жыл бұрын
how to migrate from postgresql to sqlite3?
@CodeWithClinton
@CodeWithClinton Жыл бұрын
It should be same process.
Django PostgreSQL Migration from SQLite
12:00
Very Academy
Рет қаралды 19 М.
Django Tutorial - Migrate from SQLite to PostgreSQL #19
24:55
Python Lessons
Рет қаралды 3,4 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Deploy Django with Nginx , Gunicorn , PostgreSQL on Linux Server
44:37
Lord - Full Stack
Рет қаралды 12 М.
Migrating data from SQlite to PostgreSQL | Django
6:25
StudyGyaan
Рет қаралды 18 М.
Postgres vs MySQL vs SQLite - a developer's guide
22:04
GringoDotDev
Рет қаралды 9 М.
Deploy a Django web app to a Render live server with PostgreSQL
46:57
Cloud With Django
Рет қаралды 29 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 910 М.
Django Dumpdata - Commands, Common Problem and how to overcome it
28:07