From 70aec4a0b7a5ec00bc7506013c7bb557ec59e67a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 27 Jan 2012 00:46:13 -0400 Subject: [PATCH] Add information about the user CSV importer to the documentation --- docs/releases/0.12.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/releases/0.12.rst b/docs/releases/0.12.rst index 621145bdee..fab6ac8d7d 100644 --- a/docs/releases/0.12.rst +++ b/docs/releases/0.12.rst @@ -97,12 +97,28 @@ follow:: **Optional arguments** -* The ``--noinput`` argument skips confirmation and starts the upload inmediately. +* The ``--noinput`` argument skips confirmation and starts the upload immediately. * The ``--metadata`` argument allows specifing what metadata will be assigned to the documents when uploaded. * And the ``--document_type`` applies a previously defined document type to the uploaded documents. +Out of process user import +~~~~~~~~~~~~~~~~~~~~~~~~~~ +A management command has been added to import a large number users +from a CSV file. The command line options for this feature are as +follow:: + + $ ./manage.py import_users --noinput --password=welcome123 --skip-repeated user_list.csv + +**Optional arguments** + +* The ``--noinput`` argument skips confirmation and starts the import immediately. +* The ``--password`` argument allows specifing what default password will be assigned + to all the new users that are imported. +* The ``--skip-repeated`` tells the importedr to not stop when finding + that a user already exists in the database. + Upgrading from a previous version =================================