Made some small changes to the Django FAQ

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-06 17:03:12 +00:00
parent 170c3be4b3
commit 7104000e52
1 changed files with 5 additions and 5 deletions

View File

@ -213,10 +213,10 @@ For production use, though, we recommend mod_python. The Django developers have
been running it on mod_python for about two years, and it's quite stable. been running it on mod_python for about two years, and it's quite stable.
However, if you don't want to use mod_python, you can use a different server, However, if you don't want to use mod_python, you can use a different server,
as long as that server has WSGI_ hooks. More information on alternate server as long as that server has WSGI_ hooks. See the `server arrangements wiki page`_.
arrangements is forthcoming.
.. _WSGI: http://www.python.org/peps/pep-0333.html .. _WSGI: http://www.python.org/peps/pep-0333.html
.. _server arrangements wiki page: http://code.djangoproject.com/wiki/ServerArrangements
How do I install mod_python on Windows? How do I install mod_python on Windows?
--------------------------------------- ---------------------------------------
@ -231,8 +231,6 @@ How do I install mod_python on Windows?
.. _`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
.. _`guide to getting mod_python working`: http://www.dscpl.com.au/articles/modpython-001.html .. _`guide to getting mod_python working`: http://www.dscpl.com.au/articles/modpython-001.html
(Thanks to deelan for this info.)
Will Django run under shared hosting (like TextDrive or Dreamhost)? Will Django run under shared hosting (like TextDrive or Dreamhost)?
------------------------------------------------------------------- -------------------------------------------------------------------
@ -306,7 +304,9 @@ Using a ``FileField`` or an ``ImageField`` in a model takes a few steps:
If I make changes to a model, how do I update the database? If I make changes to a model, how do I update the database?
----------------------------------------------------------- -----------------------------------------------------------
If you don't care about clearing data, just do this:: If you don't care about clearing data, just pipe the output of the
appropriate ``django-admin.py sqlreset`` command into your database's
command-line utility. For example::
django-admin.py sqlreset appname | psql dbname django-admin.py sqlreset appname | psql dbname