This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hpc:argobalsam [2015/09/15 16:01] turam [Installation] |
hpc:argobalsam [2016/02/24 21:31] (current) jchilders [Installation] |
||
---|---|---|---|
Line 119: | Line 119: | ||
) | ) | ||
</ | </ | ||
- | | + | |
+ | DATABASES = { | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | - Setup your database: | ||
- For Older Django using South (pre-1.7): | - For Older Django using South (pre-1.7): | ||
- <code bash> python manage.py syncdb </ | - <code bash> python manage.py syncdb </ | ||
Line 126: | Line 139: | ||
- Create the first migration <code bash> python manage.py schemamigration argo_core --initial </ | - Create the first migration <code bash> python manage.py schemamigration argo_core --initial </ | ||
- Apply the first migration <code bash> python manage.py migrate argo_core --fake </ | - Apply the first migration <code bash> python manage.py migrate argo_core --fake </ | ||
- | - For newer Django (1.7+): | + | - For newer Django (1.7,1.8): |
- <code bash> python manage.py syncdb </ | - <code bash> python manage.py syncdb </ | ||
+ | - For Django (1.9+): | ||
+ | - <code bash> python manage.py migrate --fake-initial </ | ||
+ | |||
===== Git Tag Notes ===== | ===== Git Tag Notes ===== | ||