Answers for "what is the best databse for django"

2

database default code in settings django

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'mydatabase',
    }
}
Posted by: Guest on November-24-2020
-2

how to store the database in the django

>>> Person.objects.raw('''SELECT first AS first_name,
...                              last AS last_name,
...                              bd AS birth_date,
...                              pk AS id,
...                       FROM some_other_table''')
Posted by: Guest on June-22-2020

Code answers related to "what is the best databse for django"

Python Answers by Framework

Browse Popular Code Answers by Language