mirror of
https://github.com/django/django.git
synced 2025-01-22 08:10:28 +00:00
Copy-edited docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
caef61945d
commit
31cd933263
24
docs/faq.txt
24
docs/faq.txt
@ -100,17 +100,16 @@ Django appears to be a MVC framework, but you call the Controller the "view", an
|
|||||||
That's because Django isn't strictly a MVC framework. We don't really believe in
|
That's because Django isn't strictly a MVC framework. We don't really believe in
|
||||||
any capital-M Methodologies; we do what "feels" right. If you squint the right
|
any capital-M Methodologies; we do what "feels" right. If you squint the right
|
||||||
way, you can call Django's ORM the "Model", the view functions the "View", and
|
way, you can call Django's ORM the "Model", the view functions the "View", and
|
||||||
the API automatically generated from the models the "Controller" -- but not
|
the dynamically-generated API the "Controller" -- but not really.
|
||||||
really.
|
|
||||||
|
|
||||||
So although we've been strongly influenced by MVC -- especially in the
|
So, although we've been strongly influenced by MVC -- especially in the
|
||||||
separation of data from logic department -- we've also strayed from the path
|
separation-of-data-from-logic department -- we've also strayed from the path
|
||||||
where it makes sense.
|
where it makes sense.
|
||||||
|
|
||||||
Do you have any of those nifty "screencast" things?
|
Do you have any of those nifty "screencast" things?
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
|
|
||||||
They're in the works -- it's amazing how much time those things take! Stay tuned...
|
They're in the works. It's amazing how much time those things take! Stay tuned...
|
||||||
|
|
||||||
Installation questions
|
Installation questions
|
||||||
======================
|
======================
|
||||||
@ -137,12 +136,13 @@ Just run the ``ex_setup.py`` script in the Django distribution.
|
|||||||
What are Django's prerequisites?
|
What are Django's prerequisites?
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
Django requires Python_ 2.3 or later, Apache2_, and mod_python_. You'll
|
Django requires Python_ 2.3 or later, `Apache 2`_, and mod_python_.
|
||||||
also need a database engine; PostgreSQL_ is recommended, and MySQL_ is
|
|
||||||
|
You'll also need a database engine. PostgreSQL_ is recommended, and MySQL_ is
|
||||||
supported.
|
supported.
|
||||||
|
|
||||||
.. _Python: http://www.python.org/
|
.. _Python: http://www.python.org/
|
||||||
.. _Apache2: http://httpd.apache.org/
|
.. _Apache 2: http://httpd.apache.org/
|
||||||
.. _mod_python: http://www.modpython.org/
|
.. _mod_python: http://www.modpython.org/
|
||||||
.. _PostgreSQL: http://www.postgresql.org/
|
.. _PostgreSQL: http://www.postgresql.org/
|
||||||
.. _MySQL: http://www.mysql.com/
|
.. _MySQL: http://www.mysql.com/
|
||||||
@ -155,7 +155,7 @@ How do I install mod_python on Windows?
|
|||||||
* For Python 2.3, grab mod_python from http://www.mod_python.org/, the read
|
* For Python 2.3, grab mod_python from http://www.mod_python.org/, the read
|
||||||
`Running mod_python on Apache on Windows2000`_.
|
`Running mod_python on Apache on Windows2000`_.
|
||||||
|
|
||||||
* Also try this (not windows-specific) `guide to getting mod_python working`_.
|
* Also try this (not Windows-specific) `guide to getting mod_python working`_.
|
||||||
|
|
||||||
.. _`guide to mod_python & Python 2.3`: http://www.lehuen.com/nicolas/index.php/2005/02/21/39-win32-build-of-mod_python-314-for-python-24
|
.. _`guide to mod_python & Python 2.3`: http://www.lehuen.com/nicolas/index.php/2005/02/21/39-win32-build-of-mod_python-314-for-python-24
|
||||||
.. _`Running mod_python on Apache on Windows2000`: http://groups-beta.google.com/group/comp.lang.python/msg/139af8c83a5a9d4f
|
.. _`Running mod_python on Apache on Windows2000`: http://groups-beta.google.com/group/comp.lang.python/msg/139af8c83a5a9d4f
|
||||||
@ -167,7 +167,7 @@ Do I have to use mod_python?
|
|||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
In the first release, yes. However, WSGI_ support (which will let Django run
|
In the first release, yes. However, WSGI_ support (which will let Django run
|
||||||
under FCGI, SCGI, medusa, etc.) is in the works; stay tuned!
|
under FCGI, SCGI, medusa, etc.) is in the works. Stay tuned!
|
||||||
|
|
||||||
.. _WSGI: http://www.python.org/peps/pep-0333.html
|
.. _WSGI: http://www.python.org/peps/pep-0333.html
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ Will Django run under shared hosting (like TextDrive or Dreamhost)?
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
|
||||||
Right now, no, unless you can get your host to install mod_python. However, as
|
Right now, no, unless you can get your host to install mod_python. However, as
|
||||||
the previous question says, WSGI support is coming!.
|
the previous answer says, WSGI support is coming!
|
||||||
|
|
||||||
Using Django
|
Using Django
|
||||||
============
|
============
|
||||||
@ -201,7 +201,7 @@ Make sure that:
|
|||||||
|
|
||||||
(where ``req`` is the mod_python request object).
|
(where ``req`` is the mod_python request object).
|
||||||
|
|
||||||
I can't stand your template language; do I have to use it?
|
I can't stand your template language. Do I have to use it?
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
|
|
||||||
We happen to think our template engine is the best thing since chunky bacon,
|
We happen to think our template engine is the best thing since chunky bacon,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user