Skip to content

Commit

Permalink
Fix documentation errors
Browse files Browse the repository at this point in the history
fixes #25
  • Loading branch information
radiac committed Sep 27, 2024
1 parent 28681ec commit 7d4343f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ Changelog

Bugs:

* Fix incorrect tutorial syntax (#15)
* Fix instance name detection (#21, #22)
* Fix dev mode ASGI (#23)

Docs:

* Fix incorrect doc reference (#16)
* Fix incorrect tutorial syntax (#15, #16)
* Fix incorrect convert command invocation (#25)
* Fix incorrect troubleshooting syntax (#26)

Thanks to:

* Simon Willison (simonw) for providing the tutorial syntax fix (#15)
* Simon Willison (simonw) for providing doc fixes (#15, #16)
* vincent d warmerdam (koaning) for providing doc fixes (#26)


0.9.0 - 2024-09-21
Expand Down
6 changes: 3 additions & 3 deletions docs/convert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ project structure.
When you feel that your code has outgrown a single app in a single file, nanodjango
can help turn it into a full Django project::

nanodjango counter.py convert path/to/new/project
nanodjango convert counter.py path/to/new/project

It will do its best to break up your ``counter.py`` into a proper Django project,
with your code in an app inside the project called ``counter``.
Expand All @@ -25,7 +25,7 @@ The ``convert`` command

With all options, the ``convert`` command is::

nanodjango <script.py> convert <target/path> --name=<project_name> --delete
nanodjango convert <script.py> <target/path> --name=<project_name> --delete

The arguments are:

Expand All @@ -44,7 +44,7 @@ The arguments are:

For example::

nanodjango counter.py convert project --name=tracker --delete
nanodjango convert counter.py project --name=tracker --delete

* will create a new dir ``project`` next to ``counter.py``
* it will create a new Django project called ``tracker`` inside that dir, giving you
Expand Down

0 comments on commit 7d4343f

Please sign in to comment.