Skip to content

Commit 6354a86

Browse files
More on downloads
1 parent eb749e9 commit 6354a86

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

help_texts/download_raw_data.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<p>This is an admin / developer operation, that will retrieve a
2+
collection from the mongo databases underlying the system.</p>
3+
4+
<p>This performs little or no interpretation of the data. In
5+
particular, neither the person data nor the equipment type data
6+
contains a list of the equipment a person is qualified on or the
7+
people who are qualified on a type of equipment; this information is
8+
represented in the events collection, and constructed for use from
9+
what training events a person has successfully attended.</p>
10+
11+
<p>Note that the "profiles" collection is confidential information
12+
under the GDPR.</p>

pages/person_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,10 +762,10 @@ def admin_section(who, viewer, django_request):
762762
method='GET')[
763763
T.input(type="hidden", name="csrfmiddlewaretoken",
764764
value=django.middleware.csrf.get_token(django_request)),
765-
T.select(name='')[
765+
T.select(name='collection')[
766766
[T.option(value=opt)[opt]
767767
for opt in model.database.collection_headers.keys()
768-
]]
768+
]],
769769
T.input(type='submit', value="Fetch raw database collection")]],
770770
"download_raw_data"))
771771
admin_subsection("Backup_database",

0 commit comments

Comments
 (0)