onadata.apps.main package¶
Subpackages¶
- onadata.apps.main.management package
- Subpackages
- onadata.apps.main.management.commands package
- Submodules
- onadata.apps.main.management.commands.create_enketo_express_urls module
- onadata.apps.main.management.commands.create_metadata_for_kpi_deployed_forms module
- onadata.apps.main.management.commands.export_user_emails module
- onadata.apps.main.management.commands.get_accounts_with_duplicate_id_strings module
- onadata.apps.main.management.commands.mailer module
- onadata.apps.main.management.commands.migrate_audit_log module
- onadata.apps.main.management.commands.remove_odk_prefix module
- onadata.apps.main.management.commands.set_media_file_hash module
- onadata.apps.main.management.commands.update_enketo_urls module
- Module contents
- onadata.apps.main.management.commands package
- Module contents
- Subpackages
- onadata.apps.main.migrations package
- Submodules
- onadata.apps.main.migrations.0001_initial module
- onadata.apps.main.migrations.0002_auto_20150717_1149 module
- onadata.apps.main.migrations.0003_auto_20151015_0822 module
- onadata.apps.main.migrations.0004_auto_20160215_0345 module
- onadata.apps.main.migrations.0005_auto_20160404_0837 module
- onadata.apps.main.migrations.0006_auto_20160408_0325 module
- onadata.apps.main.migrations.0007_auto_20160418_0525 module
- Module contents
- onadata.apps.main.models package
- Submodules
- onadata.apps.main.models.audit module
- onadata.apps.main.models.google_oath module
- onadata.apps.main.models.meta_data module
MetaData
MetaData.DoesNotExist
MetaData.MultipleObjectsReturned
MetaData.content_object
MetaData.content_type
MetaData.content_type_id
MetaData.data_file
MetaData.data_file_type
MetaData.data_license()
MetaData.data_type
MetaData.data_value
MetaData.date_created
MetaData.date_modified
MetaData.deleted_at
MetaData.enketo_preview_url()
MetaData.enketo_single_submit_url()
MetaData.enketo_url()
MetaData.external_export()
MetaData.external_export_name
MetaData.external_export_template
MetaData.external_export_url
MetaData.extra_data
MetaData.file_hash
MetaData.form_license()
MetaData.get_google_sheet_details()
MetaData.hash
MetaData.id
MetaData.instance_csv_imported_by()
MetaData.is_linked_dataset
MetaData.mapbox_layer_upload()
MetaData.media_add_uri()
MetaData.media_upload()
MetaData.object_id
MetaData.objects
MetaData.public_link()
MetaData.published_by_formbuilder()
MetaData.save()
MetaData.set_google_sheet_details()
MetaData.set_hash()
MetaData.soft_delete()
MetaData.source()
MetaData.submission_review()
MetaData.supporting_docs()
MetaData.textit()
MetaData.textit_flow_details()
MetaData.xform_meta_permission()
clear_cached_metadata_instance_object()
create_media()
get_default_content_type()
is_valid_url()
media_resources()
save_metadata()
type_for_form()
unique_type_for_form()
update_attached_object()
upload_to()
- onadata.apps.main.models.user_profile module
UserProfile
UserProfile.DoesNotExist
UserProfile.MultipleObjectsReturned
UserProfile.address
UserProfile.city
UserProfile.country
UserProfile.created_by
UserProfile.created_by_id
UserProfile.date_modified
UserProfile.description
UserProfile.get_country_display()
UserProfile.get_next_by_date_modified()
UserProfile.get_previous_by_date_modified()
UserProfile.gravatar
UserProfile.gravatar_exists
UserProfile.home_page
UserProfile.id
UserProfile.metadata
UserProfile.name
UserProfile.num_of_submissions
UserProfile.objects
UserProfile.organization
UserProfile.organizationprofile
UserProfile.phonenumber
UserProfile.require_auth
UserProfile.save()
UserProfile.twitter
UserProfile.twitter_clean
UserProfile.user
UserProfile.user_id
UserProfile.userprofilegroupobjectpermission_set
UserProfile.userprofileuserobjectpermission_set
UserProfileGroupObjectPermission
UserProfileGroupObjectPermission.DoesNotExist
UserProfileGroupObjectPermission.MultipleObjectsReturned
UserProfileGroupObjectPermission.content_object
UserProfileGroupObjectPermission.content_object_id
UserProfileGroupObjectPermission.group
UserProfileGroupObjectPermission.id
UserProfileGroupObjectPermission.permission
UserProfileUserObjectPermission
UserProfileUserObjectPermission.DoesNotExist
UserProfileUserObjectPermission.MultipleObjectsReturned
UserProfileUserObjectPermission.content_object
UserProfileUserObjectPermission.content_object_id
UserProfileUserObjectPermission.id
UserProfileUserObjectPermission.permission
UserProfileUserObjectPermission.user
create_auth_token()
set_kpi_formbuilder_permissions()
set_object_permissions()
- Module contents
- onadata.apps.main.templatetags package
- onadata.apps.main.tests package
- Submodules
- onadata.apps.main.tests.test_audit_log module
- onadata.apps.main.tests.test_base module
- onadata.apps.main.tests.test_csv_export module
- onadata.apps.main.tests.test_custom_context_processors module
- onadata.apps.main.tests.test_form_api module
TestFormAPI
TestFormAPI.setUp()
TestFormAPI.test_api()
TestFormAPI.test_api_column_select()
TestFormAPI.test_api_cors_options()
TestFormAPI.test_api_count()
TestFormAPI.test_api_decode_from_mongo()
TestFormAPI.test_api_jsonp()
TestFormAPI.test_api_query_no_records()
TestFormAPI.test_api_with_or_query()
TestFormAPI.test_api_with_query()
TestFormAPI.test_api_with_query_invalid_start_limit()
TestFormAPI.test_api_with_query_start_limit()
TestFormAPI.test_handle_bad_json()
- onadata.apps.main.tests.test_form_api_delete module
- onadata.apps.main.tests.test_form_auth module
- onadata.apps.main.tests.test_form_edit module
TestFormEdit
TestFormEdit.setUp()
TestFormEdit.test_anon_no_edit_post()
TestFormEdit.test_delete_404()
TestFormEdit.test_not_owner_no_edit_post()
TestFormEdit.test_user_data_license_edit_updates()
TestFormEdit.test_user_description_edit_updates()
TestFormEdit.test_user_form_license_edit_updates()
TestFormEdit.test_user_title_edit_updates()
TestFormEdit.test_user_toggle_data_privacy()
TestFormEdit.test_user_toggle_data_privacy_off()
TestFormEdit.test_user_toggle_form_downloadable()
TestFormEdit.test_user_toggle_form_downloadable_off()
TestFormEdit.test_user_toggle_form_privacy()
TestFormEdit.test_user_toggle_form_privacy_off()
- onadata.apps.main.tests.test_form_enter_data module
- onadata.apps.main.tests.test_form_errors module
TestFormErrors
TestFormErrors.test_bad_id_string()
TestFormErrors.test_choice_duplicate_error()
TestFormErrors.test_dl_no_xls()
TestFormErrors.test_dl_xls_not_file()
TestFormErrors.test_empty_submission()
TestFormErrors.test_nonexist_id_string()
TestFormErrors.test_spaced_xlsform()
TestFormErrors.test_submission_deactivated()
- onadata.apps.main.tests.test_form_exports module
TestFormExports
TestFormExports.setUp()
TestFormExports.test_allow_csv_export()
TestFormExports.test_allow_csv_export_for_basic_auth()
TestFormExports.test_allow_csv_export_if_shared()
TestFormExports.test_allow_export_download_for_basic_auth()
TestFormExports.test_allow_kml_export()
TestFormExports.test_allow_kml_export_for_basic_auth()
TestFormExports.test_allow_kml_export_if_shared()
TestFormExports.test_allow_xlsx_export()
TestFormExports.test_allow_xlsx_export_for_basic_auth()
TestFormExports.test_allow_xlsx_export_if_shared()
TestFormExports.test_allow_zip_export()
TestFormExports.test_allow_zip_export_for_basic_auth()
TestFormExports.test_allow_zip_export_if_shared()
TestFormExports.test_csv_raw_export_name()
TestFormExports.test_filter_by_date_csv()
TestFormExports.test_filter_by_date_xls()
TestFormExports.test_restrict_csv_export_if_not_shared()
TestFormExports.test_restrict_kml_export_if_not_shared()
TestFormExports.test_restrict_xlsx_export_if_not_shared()
TestFormExports.test_restrict_zip_export_if_not_shared()
TestFormExports.test_xls_raw_export_name()
TestFormExports.test_zip_raw_export_name()
- onadata.apps.main.tests.test_form_gallery module
- onadata.apps.main.tests.test_form_metadata module
TestFormMetadata
TestFormMetadata.setUp()
TestFormMetadata.test_add_media_url()
TestFormMetadata.test_adds_mapbox_layer_on_submit()
TestFormMetadata.test_adds_supporting_doc_on_submit()
TestFormMetadata.test_adds_supporting_media_on_submit()
TestFormMetadata.test_anon_delete_mapbox_layer()
TestFormMetadata.test_delete_cached_xform_metadata_object_on_save()
TestFormMetadata.test_delete_mapbox_layer()
TestFormMetadata.test_delete_supporting_doc()
TestFormMetadata.test_delete_supporting_media()
TestFormMetadata.test_download_supporting_doc()
TestFormMetadata.test_download_supporting_media()
TestFormMetadata.test_media_file_hash()
TestFormMetadata.test_no_download_supporting_doc_for_anon()
TestFormMetadata.test_shared_download_supporting_doc_for_anon()
TestFormMetadata.test_shared_download_supporting_media_for_anon()
TestFormMetadata.test_shows_mapbox_layer_after_submit()
TestFormMetadata.test_shows_supporting_doc_after_submit()
TestFormMetadata.test_shows_supporting_media_after_submit()
TestFormMetadata.test_upload_source_file()
TestFormMetadata.test_upload_source_file_keep_name()
TestFormMetadata.test_upload_source_file_set_value_to_name()
TestFormMetadata.test_user_source_edit_updates()
TestFormMetadata.test_views_with_unavailable_id_string()
TestFormMetadata.test_windows_csv_file_upload()
- onadata.apps.main.tests.test_form_permissions module
TestFormPermissions
TestFormPermissions.setUp()
TestFormPermissions.test_add_edit_to_user()
TestFormPermissions.test_add_view_permisions_to_user()
TestFormPermissions.test_add_view_to_user()
TestFormPermissions.test_allow_map()
TestFormPermissions.test_allow_map_if_shared()
TestFormPermissions.test_allow_map_if_user_given_permission()
TestFormPermissions.test_anon_reject_api()
TestFormPermissions.test_client_allow_api()
TestFormPermissions.test_disallow_map_if_user_permission_revoked()
TestFormPermissions.test_only_access_shared_link_form()
TestFormPermissions.test_private_set_link_to_share_off()
TestFormPermissions.test_private_set_link_to_share_toggle_off()
TestFormPermissions.test_public_with_link_to_share()
TestFormPermissions.test_public_with_link_to_share_toggle_on()
TestFormPermissions.test_remove_permissions_from_user()
TestFormPermissions.test_require_owner_to_add_perm()
TestFormPermissions.test_restrict_map_for_anon()
TestFormPermissions.test_restrict_map_for_not_owner()
TestFormPermissions.test_set_permissions_for_user()
TestFormPermissions.test_show_list_of_users_shared_with()
TestFormPermissions.test_view_shared_form()
- onadata.apps.main.tests.test_form_public_api module
- onadata.apps.main.tests.test_form_show module
- onadata.apps.main.tests.test_gps module
- onadata.apps.main.tests.test_http_auth module
- onadata.apps.main.tests.test_metadata module
TestMetaData
TestMetaData.setUp()
TestMetaData.test_create_google_sheet_metadata_object()
TestMetaData.test_create_metadata()
TestMetaData.test_saving_same_metadata_object_doesnt_trigger_integrity_error()
TestMetaData.test_unique_type_for_form()
TestMetaData.test_upload_to_with_anonymous_user()
TestMetaData.test_upload_to_with_project_and_xform_instance()
- onadata.apps.main.tests.test_past_bugs module
- onadata.apps.main.tests.test_process module
- onadata.apps.main.tests.test_style module
- onadata.apps.main.tests.test_user_id_string_unique_together module
- onadata.apps.main.tests.test_user_login module
- onadata.apps.main.tests.test_user_profile module
- onadata.apps.main.tests.test_user_settings module
- Module contents