toaster-manual: correct how to create a super user
PATCH 1/1 toaster-manual: correct how to create a super user
From: Belen Barros Pena <[email protected]>
The manage.py createsuperuser command must be run from the directory containing the Toaster database, and not from the root of the checkout directory, as the manual indicated. Amend the section to provide the correct instructions.
--- documentation/toaster-manual/toaster-manual-setup-and-use.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
documentation/toaster-manual/toaster-manual-setup-and-use.xml +6 -3
@@ -125,10 +125,13 @@ </literallayout> </para></listitem> <listitem><para> - From the root of your checkout directory, invoke the - following command from <filename>manage.py</filename>: + From the directory containing the Toaster database (by default, the + <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>) + invoke the <filename>createsuperuser</filename> command + from <filename>manage.py</filename>: <literallayout class='monospaced'> - $ ./bitbake/lib/toaster/manage.py createsuperuser + $ cd ~/poky/build + $ ../bitbake/lib/toaster/manage.py createsuperuser </literallayout> </para></listitem> <listitem><para>
Signature · 1 line
2.5.4 (Apple Git-61)
Belen,
See
http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#toaster-creating-a-django-super-user
for the change.
Thanks,
Scott
Quoted 42 lines · Belen Barros Pena
From: Belen Barros Pena <[email protected]>
The
manage.pycreatesuperuser command must be run from the directory containing the Toaster database, and not from the root of the checkout directory, as the manual indicated. Amend the section to provide the correct instructions.Signed-off-by Belen Barros Pena <[email protected]>--- documentation/toaster-manual/toaster-manual-setup-and-use.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)documentation/toaster-manual/toaster-manual-setup-and-use.xml +1
-2@@ -125,10 +125,13 @@ </literallayout> </para></listitem> <listitem><para> - From the root of your checkout directory, invoke the - following command from <filename>manage.py</filename>: + From the directory containing the Toaster database(by default, the
+ <ulink
url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>)
+ invoke the <filename>createsuperuser</filename>
commanddocumentation/toaster-manual/toaster-manual-setup-and-use.xml +3
-2+ from <filename>manage.py</filename>: <literallayout class='monospaced'> - $ ./bitbake/lib/toaster/manage.py createsuperuser + $ cd ~/poky/build + $ ../bitbake/lib/toaster/manage.py createsuperuser </literallayout> </para></listitem> <listitem><para> --2.5.4 (Apple Git-61)