Upgrade to Django 1.5
[fnpdjango.git] / bin / fnpdjango_bootstrap.sh
index ecb80a0..0f56953 100755 (executable)
@@ -5,7 +5,7 @@ PROJECT="$1"
 # Make it a function, so that it works with `source`
 start_project() {
 
-DJANGO_REQ='Django>=1.4,<1.5'
+DJANGO_REQ='Django>=1.5,<1.6'
 VIRTUALENVWRAPPER_PATHS="
     /etc/bash_completion.d/virtualenvwrapper
     /usr/bin/virtualenvwrapper.sh
@@ -63,6 +63,9 @@ echo -e "${strong}Installing requirements...${normal}"
 pip install -r requirements.txt
 echo -e "${strong}Installing developer requirements...${normal}"
 pip install -r requirements-dev.txt
+echo -e "${strong}Running syncdb...${normal}"
+./manage.py syncdb --noinput
+
 echo -e "${strong}Starting new git repository...${normal}"
 git init