Skip to content

Commit 355ffde

Browse files
author
Richard Jones
committed
more doc
1 parent a43f0a0 commit 355ffde

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

roundup/admin.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: admin.py,v 1.67 2004-04-05 23:43:03 richard Exp $
19+
# $Id: admin.py,v 1.68 2004-04-17 01:47:37 richard Exp $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -1020,9 +1020,11 @@ def do_export(self, args):
10201020
'''Usage: export [class[,class]] export_dir
10211021
Export the database to colon-separated-value files.
10221022
1023+
Optionally limit the export to just the names classes.
1024+
10231025
This action exports the current data from the database into
10241026
colon-separated-value files that are placed in the nominated
1025-
destination directory. The journals are not exported.
1027+
destination directory.
10261028
'''
10271029
# grab the directory to export to
10281030
if len(args) < 1:
@@ -1068,11 +1070,16 @@ def do_export(self, args):
10681070

10691071
def do_import(self, args):
10701072
'''Usage: import import_dir
1071-
Import a database from the directory containing CSV files, one per
1073+
Import a database from the directory containing CSV files, two per
10721074
class to import.
10731075
1074-
The files must define the same properties as the class (including
1075-
having a "header" line with those property names.)
1076+
The files used in the import are:
1077+
1078+
<class>.csv
1079+
This must define the same properties as the class (including
1080+
having a "header" line with those property names.)
1081+
<class>-journals.csv
1082+
This defines the journals for the items being imported.
10761083
10771084
The imported nodes will have the same nodeid as defined in the
10781085
import file, thus replacing any existing content.

0 commit comments

Comments
 (0)