Skip to contentSkip to conversation

toaster-manual: correct how to create a super user

PATCH In review Belen Barros Pena 2 participants 2 messages Feb 18, 2016

lore
Share & tools
lore
#0 lore raw

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
index 89b8b52..63aed73 100644
@@ -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)
#1 lore raw

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.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 +1 -2
index 89b8b52..63aed73 100644
@@ -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

documentation/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)