Skip to content

Commit aa6b647

Browse files
committed
Replace django-admin.py with django-admin.
1 parent ece1c27 commit aa6b647

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ isort_check_only:
1111

1212
example:
1313
DJANGO_SETTINGS_MODULE=example.settings \
14-
django-admin.py runserver
14+
django-admin runserver
1515

1616
test:
1717
DJANGO_SETTINGS_MODULE=tests.settings \
18-
django-admin.py test tests
18+
django-admin test tests
1919

2020
test_selenium:
2121
DJANGO_SELENIUM_TESTS=true DJANGO_SETTINGS_MODULE=tests.settings \
22-
django-admin.py test tests
22+
django-admin test tests
2323

2424
coverage:
2525
coverage erase
2626
DJANGO_SETTINGS_MODULE=tests.settings \
27-
coverage run --branch --source=debug_toolbar `which django-admin.py` test tests
27+
coverage run --branch --source=debug_toolbar `which django-admin` test tests
2828
coverage html
2929

3030
translatable_strings:
31-
cd debug_toolbar && django-admin.py makemessages -l en --no-obsolete
31+
cd debug_toolbar && django-admin makemessages -l en --no-obsolete
3232
@echo "Please commit changes and run 'tx push -s' (or wait for Transifex to pick them)"
3333

3434
update_translations:
3535
tx pull -a --minimum-perc=10
36-
cd debug_toolbar && django-admin.py compilemessages
36+
cd debug_toolbar && django-admin compilemessages

docs/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ the libraries required for working on the Debug Toolbar::
2424

2525
You can run now run the example application::
2626

27-
$ DJANGO_SETTINGS_MODULE=example.settings django-admin.py migrate
28-
$ DJANGO_SETTINGS_MODULE=example.settings django-admin.py runserver
27+
$ DJANGO_SETTINGS_MODULE=example.settings django-admin migrate
28+
$ DJANGO_SETTINGS_MODULE=example.settings django-admin runserver
2929

3030
For convenience, there's an alias for the second command::
3131

example/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ the debug toolbar, ie. the directory that contains ``example/``.
2222

2323
Before running the example for the first time, you must create a database::
2424

25-
$ PYTHONPATH=. django-admin.py syncdb --settings=example.settings
25+
$ PYTHONPATH=. django-admin syncdb --settings=example.settings
2626

2727
Then you can use the following command to run the example::
2828

29-
$ PYTHONPATH=. django-admin.py runserver --settings=example.settings
29+
$ PYTHONPATH=. django-admin runserver --settings=example.settings

0 commit comments

Comments
 (0)