CogitoNTNU / web-backend

Backend Django server of Cogito website

Home Page:https://cogito-backend.net/admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate from SQLite to PostgreSQL

sandviklee opened this issue · comments

Change the database in the Django backend to PostgreSQL

Acceptance Criterias:

  • Be able to get data from DB
  • Be able to connect to DB
  • Be able to put data to DB

I'm following this tutorial:

https://stackpython.medium.com/how-to-start-django-project-with-a-database-postgresql-aaa1d74659d8

The point is to transfer the sqlite db to a postgresql db and have it running in the docker