Check out example codes for "djnago". It will help you in understanding the concepts better.

Code Example 1

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', 
        'NAME': 'DB_NAME',
        'USER': 'DB_USER',
        'PASSWORD': 'DB_PASSWORD',
        'HOST': 'localhost',   # Or an IP Address that your DB is hosted on
        'PORT': '3306',
    }
}

Code Example 2

$ python manage.py runserver

Learn ReactJs, React Native from akashmittal.com