Replace an incorrect reference to collectmedia in the docs (the command is collectstatic)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
34f003028d
commit
82dca6d4af
|
@ -239,7 +239,7 @@ If you want to serve your media from the same server that's already serving your
|
||||||
app, the basic outline gets modified to look something like:
|
app, the basic outline gets modified to look something like:
|
||||||
|
|
||||||
* Push your code up to the deployment server.
|
* Push your code up to the deployment server.
|
||||||
* On the server, run :djadmin:`collectmedia` to move all the media into
|
* On the server, run :djadmin:`collectstatic` to move all the media into
|
||||||
:setting:`STATICFILES_ROOT`.
|
:setting:`STATICFILES_ROOT`.
|
||||||
* Point your web server at :setting:`STATICFILES_ROOT`. For example, here's
|
* Point your web server at :setting:`STATICFILES_ROOT`. For example, here's
|
||||||
of :ref:`how to do this under Apache and mod_wsgi <serving-media-files>`.
|
of :ref:`how to do this under Apache and mod_wsgi <serving-media-files>`.
|
||||||
|
|
Loading…
Reference in New Issue