mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
[5.2.x] Made release test script use a random available port.
Co-authored-by: Jake Howard <git@theorangeone.net>
Backport of c08ed084f9 from main.
This commit is contained in:
@@ -25,7 +25,7 @@ django-admin startproject test_one
|
||||
cd test_one
|
||||
./manage.py --help # Ensure executable bits
|
||||
python manage.py migrate
|
||||
python manage.py runserver
|
||||
python manage.py runserver 0
|
||||
|
||||
deactivate
|
||||
cd ..
|
||||
@@ -40,7 +40,7 @@ django-admin startproject test_one
|
||||
cd test_one
|
||||
./manage.py --help # Ensure executable bits
|
||||
python manage.py migrate
|
||||
python manage.py runserver
|
||||
python manage.py runserver 0
|
||||
|
||||
deactivate
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user