Skip to content

Commit 5a1646c

Browse files
committed
Merge pull request #1491 from rtfd/fix-gulpfile-manage-py
Change gulpfile execution of django project
2 parents e366cb7 + a8c2d8e commit 5a1646c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ gulp.task('build', function (done) {
124124
}))
125125
.pipe(es.wait(function (err, body) {
126126
gulp_util.log('Collecting static files');
127-
run('django-admin.py collectstatic --noinput')
127+
run('readthedocs/manage.py collectstatic --noinput')
128128
.exec('', function (err) { done(err); });
129129
}));
130130
});
@@ -147,7 +147,7 @@ gulp.task('dev', function (done) {
147147
build_app_sources(application, false)
148148
.pipe(es.wait(function (err, body) {
149149
gulp_util.log('Collecting static files');
150-
run('./manage.py collectstatic --noinput').exec('');
150+
run('readthedocs/manage.py collectstatic --noinput').exec('');
151151
}));
152152
});
153153
}))

0 commit comments

Comments
 (0)