diff options
| author | David Smith <smithdc@gmail.com> | 2021-07-23 07:48:16 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-07-29 06:24:12 +0200 |
| commit | 1024b5e74a7166313ad4e4975a15e90dccd3ec5f (patch) | |
| tree | 05d75177f183de5e3c58dbf25a3f71ff4a5c820a /docs/intro/tutorial01.txt | |
| parent | acde91745656a852a15db7611c08cabf93bb735b (diff) | |
| download | django-1024b5e74a7166313ad4e4975a15e90dccd3ec5f.tar.gz | |
Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate.
Diffstat (limited to 'docs/intro/tutorial01.txt')
| -rw-r--r-- | docs/intro/tutorial01.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index c2bfcd80c4..368760dfb8 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -67,11 +67,11 @@ work, see :ref:`troubleshooting-django-admin`. .. admonition:: Where should this code live? If your background is in plain old PHP (with no use of modern frameworks), - you're probably used to putting code under the Web server's document root + you're probably used to putting code under the web server's document root (in a place such as ``/var/www``). With Django, you don't do that. It's - not a good idea to put any of this Python code within your Web server's + not a good idea to put any of this Python code within your web server's document root, because it risks the possibility that people may be able - to view your code over the Web. That's not good for security. + to view your code over the web. That's not good for security. Put your code in some directory **outside** of the document root, such as :file:`/home/mycode`. @@ -148,16 +148,16 @@ You'll see the following output on the command line: Ignore the warning about unapplied database migrations for now; we'll deal with the database shortly. -You've started the Django development server, a lightweight Web server written +You've started the Django development server, a lightweight web server written purely in Python. We've included this with Django so you can develop things rapidly, without having to deal with configuring a production server -- such as Apache -- until you're ready for production. Now's a good time to note: **don't** use this server in anything resembling a production environment. It's intended only for use while developing. (We're in -the business of making Web frameworks, not Web servers.) +the business of making web frameworks, not web servers.) -Now that the server's running, visit http://127.0.0.1:8000/ with your Web +Now that the server's running, visit http://127.0.0.1:8000/ with your web browser. You'll see a "Congratulations!" page, with a rocket taking off. It worked! @@ -206,8 +206,8 @@ rather than creating directories. .. admonition:: Projects vs. apps - What's the difference between a project and an app? An app is a Web - application that does something -- e.g., a Weblog system, a database of + What's the difference between a project and an app? An app is a web + application that does something -- e.g., a blog system, a database of public records or a small poll app. A project is a collection of configuration and apps for a particular website. A project can contain multiple apps. An app can be in multiple projects. |
