Skip to content

Commit 52faadd

Browse files
committed
Fixed DjangoGirls#6 -- Use 127.0.0.1 instead of localhost.
1 parent 9a017b7 commit 52faadd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

django_admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ As you can see, we import (include) the Post model defined in the previous chapt
1313

1414
Ok, time to look at our Post model. Go to the browser and type an address:
1515

16-
http://localhost:8000/admin/
16+
http://127.0.0.1:8000/admin/
1717

1818
You will see a login page like this:
1919

starting_django_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ You need to be in a folder that contains `manage.py` file (in `mysite` directory
8282

8383
Now all you need to do is to check if your website is running :). Open your browser (Firefox, Chrome, Safari, Internet Explorer or whatever you use) and type the address:
8484

85-
http://localhost:8000/
85+
http://127.0.0.1:8000/
8686

8787
Congratulations! You've just created your first website and run it using a web server! Isn't it awesome?
8888

0 commit comments

Comments
 (0)