Skip to content

A simple command to automatically create database if it doesn't exist on migrate

License

Notifications You must be signed in to change notification settings

Vacasa/django-db-auto-create

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django DB Auto Create

What is this?

Django doesn't create databases for you automatically. You have to do this yourself manually.

This is a simple package that creates your database for you automatically, if necessary, when you run migrate for the first time.

Important: This package only supports PostgreSQL at the moment!

Quickstart

  • add django_db_auto_create to your project's INSTALLED_APPS
  • add "AUTO_CREATE": True to your database settings

About

A simple command to automatically create database if it doesn't exist on migrate

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages