mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Fixed #23067 -- Updated docs to use django-admin
This commit is contained in:
parent
66630f589c
commit
d47409831f
31 changed files with 187 additions and 198 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue