Commits

Mark Lavin  committed d529c45 Draft

build_static is collectstatic in Django 1.3

  • Participants
  • Parent commits 49a7567

Comments (0)

Files changed (1)

 #        local('pg_restore -d %(NAME)s -U %(USER)s temp-backup.sql' % db_settings)
 
 def build_static():
-    run('%(virtualenv_root)s/bin/python %(code_root)s/%(project_name)s/manage.py build_static --noinput' % env)
+    run('%(virtualenv_root)s/bin/python %(code_root)s/%(project_name)s/manage.py collectstatic --noinput' % env)
 
 def run_photologue_migration():
     run('%(virtualenv_root)s/bin/python %(code_root)s/%(project_name)s/manage.py migrate_photologue_data' % env)