1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #23067 -- Updated docs to use django-admin

This commit is contained in:
Christoph Heer
2014-07-26 13:21:52 +02:00
committed by Tim Graham
parent 66630f589c
commit d47409831f
31 changed files with 187 additions and 198 deletions

View File

@@ -7,7 +7,7 @@ GeoDjango Management Commands
inspectdb
=========
.. describe:: django-admin.py inspectdb
.. describe:: django-admin inspectdb
When :mod:`django.contrib.gis` is in your :setting:`INSTALLED_APPS`, the
:djadmin:`inspectdb` management command is overridden with one from GeoDjango.

View File

@@ -81,12 +81,12 @@ to create a :ref:`SpatiaLite database <create_spatialite_db>`.
Create a New Project
------------------------
Use the standard ``django-admin.py`` script to create a project called
Use the standard ``django-admin`` script to create a project called
``geodjango``:
.. code-block:: bash
$ django-admin.py startproject geodjango
$ django-admin startproject geodjango
This will initialize a new project. Now, create a ``world`` Django application
within the ``geodjango`` project: