Neon raises $30M in Series A-1Read More

Run a Django App


Django is one of the most popular backend frameworks. Because Neon is fully compatible with vanilla PostgreSQL, you only need to fill in the correct connection details. To use Neon with Django, you have to create a Project on Neon and specify the project connection settings in your in the same way as for standalone Postgres.

Specify the project connection settings

See the following example of specifying connection properties for Neon:

    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': '<here goes your project id>',
        'USER': '<your github username used to authenticate to neon>',
        'PASSWORD': '<password generated in Connection Details tab>',
        'HOST': '<your project id>',
        'PORT': '5432',

Note: Currently, it is not possible to run Django tests against Neon because Django test runner needs to create a new database for tests which is currently not supported in Neon.