Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97150

Re: Django (Python Web Framework) Tutorial

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Django (Python Web Framework) Tutorial
Date 2015-09-27 03:45 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <mu7opg$ntt$1@reader1.panix.com> (permalink)
References <1421a34f-d8cc-4367-adab-2c2b46504d72@googlegroups.com>

Show all headers | View raw


In <1421a34f-d8cc-4367-adab-2c2b46504d72@googlegroups.com> Cai Gengyang <gengyangcai@gmail.com> writes:

> Question : I am a little confused about the last paragraph : What exactly
> is a "directory outside of the document root, such as /home/mycode." and
> how do you "Put your code in this directory" ?

Django is a web application framework.  So, you have to use it together with
a web server.  The "document root" is the directory where the web server
expects to find files to be served as web pages.

You said you put the Django project code in a subdirectory of your home
directory.  That should be fine.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Django (Python Web Framework) Tutorial Cai Gengyang <gengyangcai@gmail.com> - 2015-09-26 05:42 -0700
  Re: Django (Python Web Framework) Tutorial John Gordon <gordon@panix.com> - 2015-09-27 03:45 +0000
    Re: Django (Python Web Framework) Tutorial Cai Gengyang <gengyangcai@gmail.com> - 2015-09-26 21:12 -0700

csiph-web