Mark optional fields in application import csv
@@ -19,11 +19,11 @@ class Command(BaseCommand):
Imports applications from CSV.
Fields:
Partner (int: partner.id1),
- Timestamp (date: dd/mm/yyyy),
+ Timestamp [optional] (date: dd/mm/yyyy),
Username (string: wp_username),
- Email (string: user@example.com),
- Collection (comma separated ints: "stream.id1, stream.id2, stream.id3"),
- Title(semicolon separated strings: "specific_title1; specific_title2; specific_title3")
+ Email [optional] (string: user@example.com),
+ Collection [optional] (comma separated ints: "stream.id1, stream.id2, stream.id3"),
+ Title [optional] (semicolon separated strings: "specific_title1; specific_title2; specific_title3")
"""
# Let's not send mails about imported stuff.
django.conf.settings.EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
