# Generated by Django 5.1.4 on 2024-12-20 12:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scheduler', '0008_alter_scheduledtask_function_path'), ] operations = [ migrations.AlterField( model_name='scheduledtask', name='function_path', field=models.CharField(choices=[('manage.main', 'main'), ('users.views.render', 'render'), ('bot.handlers.check_pms', 'check_pms'), ('bot.handlers.delete_hotel', 'delete_hotel'), ('bot.handlers.generate_statistics', 'generate_statistics'), ('bot.handlers.handle_button_click', 'handle_button_click'), ('bot.handlers.hotel_actions', 'hotel_actions'), ('bot.handlers.manage_hotels', 'manage_hotels'), ('bot.handlers.navigate_back', 'navigate_back'), ('bot.handlers.set_notification_time', 'set_notification_time'), ('bot.handlers.settings_menu', 'settings_menu'), ('bot.handlers.setup_rooms', 'setup_rooms'), ('bot.handlers.show_current_settings', 'show_current_settings'), ('bot.handlers.show_users', 'show_users'), ('bot.handlers.start', 'start'), ('bot.handlers.statistics', 'statistics'), ('bot.handlers.stats_select_period', 'stats_select_period'), ('bot.handlers.sync_hotel_data', 'sync_hotel_data'), ('bot.handlers.toggle_email', 'toggle_email'), ('bot.handlers.toggle_telegram', 'toggle_telegram'), ('bot.log_processor.analyze_logs', 'analyze_logs'), ('bot.log_processor.generate_statistics', 'generate_statistics'), ('bot.log_processor.get_geolocation', 'get_geolocation'), ('bot.log_processor.get_user_agent_details', 'get_user_agent_details'), ('bot.log_processor.parse', 'parse'), ('bot.views.render', 'render'), ('bot.keyboards.main_menu_keyboard', 'main_menu_keyboard'), ('bot.keyboards.stats_period_keyboard', 'stats_period_keyboard'), ('bot.utils.pdf_report.ensure_datetime', 'ensure_datetime'), ('bot.utils.pdf_report.generate_pdf_report', 'generate_pdf_report'), ('bot.utils.pdf_report.is_aware', 'is_aware'), ('bot.utils.pdf_report.is_naive', 'is_naive'), ('bot.utils.pdf_report.make_aware', 'make_aware'), ('bot.utils.pdf_report.sync_to_async', 'sync_to_async'), ('bot.utils.froud_check.detect_fraud', 'detect_fraud'), ('bot.utils.froud_check.sync_to_async', 'sync_to_async'), ('bot.utils.bot_setup.check_pms', 'check_pms'), ('bot.utils.bot_setup.delete_hotel', 'delete_hotel'), ('bot.utils.bot_setup.generate_statistics', 'generate_statistics'), ('bot.utils.bot_setup.handle_button_click', 'handle_button_click'), ('bot.utils.bot_setup.handle_notification_time', 'handle_notification_time'), ('bot.utils.bot_setup.hotel_actions', 'hotel_actions'), ('bot.utils.bot_setup.manage_hotels', 'manage_hotels'), ('bot.utils.bot_setup.set_notification_time', 'set_notification_time'), ('bot.utils.bot_setup.settings_menu', 'settings_menu'), ('bot.utils.bot_setup.setup_bot', 'setup_bot'), ('bot.utils.bot_setup.setup_rooms', 'setup_rooms'), ('bot.utils.bot_setup.show_current_settings', 'show_current_settings'), ('bot.utils.bot_setup.show_users', 'show_users'), ('bot.utils.bot_setup.start', 'start'), ('bot.utils.bot_setup.statistics', 'statistics'), ('bot.utils.bot_setup.stats_select_period', 'stats_select_period'), ('bot.utils.bot_setup.toggle_email', 'toggle_email'), ('bot.utils.bot_setup.toggle_telegram', 'toggle_telegram'), ('bot.utils.notifications.send_email_notification', 'send_email_notification'), ('bot.utils.notifications.send_mail', 'send_mail'), ('bot.utils.notifications.send_telegram_notification', 'send_telegram_notification'), ('bot.utils.scheduler.schedule_notifications', 'schedule_notifications'), ('bot.utils.scheduler.setup_scheduler', 'setup_scheduler'), ('bot.utils.database.get_hotel_by_id', 'get_hotel_by_id'), ('bot.utils.database.get_hotel_by_name', 'get_hotel_by_name'), ('bot.utils.database.get_hotels_for_user', 'get_hotels_for_user'), ('bot.utils.database.get_reservations', 'get_reservations'), ('bot.utils.database.get_user_from_chat_id', 'get_user_from_chat_id'), ('bot.utils.database.save_reservations', 'save_reservations'), ('bot.utils.database.sync_to_async', 'sync_to_async'), ('bot.operations.statistics.ensure_datetime', 'ensure_datetime'), ('bot.operations.statistics.generate_pdf_report', 'generate_pdf_report'), ('bot.operations.statistics.generate_statistics', 'generate_statistics'), ('bot.operations.statistics.get_hotel_by_name', 'get_hotel_by_name'), ('bot.operations.statistics.get_hotels_for_user', 'get_hotels_for_user'), ('bot.operations.statistics.get_period_dates', 'get_period_dates'), ('bot.operations.statistics.is_aware', 'is_aware'), ('bot.operations.statistics.is_naive', 'is_naive'), ('bot.operations.statistics.make_aware', 'make_aware'), ('bot.operations.statistics.statistics', 'statistics'), ('bot.operations.statistics.stats_back', 'stats_back'), ('bot.operations.statistics.stats_select_period', 'stats_select_period'), ('bot.operations.statistics.sync_to_async', 'sync_to_async'), ('bot.operations.notifications.handle_notification_time', 'handle_notification_time'), ('bot.operations.notifications.schedule_notifications', 'schedule_notifications'), ('bot.operations.notifications.send_email_notification', 'send_email_notification'), ('bot.operations.notifications.send_mail', 'send_mail'), ('bot.operations.notifications.send_telegram_notification', 'send_telegram_notification'), ('bot.operations.notifications.sync_to_async', 'sync_to_async'), ('bot.operations.hotels.check_pms', 'check_pms'), ('bot.operations.hotels.delete_hotel', 'delete_hotel'), ('bot.operations.hotels.detect_fraud', 'detect_fraud'), ('bot.operations.hotels.get_users_for_hotel', 'get_users_for_hotel'), ('bot.operations.hotels.handle_fraud_check', 'handle_fraud_check'), ('bot.operations.hotels.hotel_actions', 'hotel_actions'), ('bot.operations.hotels.manage_hotels', 'manage_hotels'), ('bot.operations.hotels.setup_rooms', 'setup_rooms'), ('bot.operations.hotels.sync_to_async', 'sync_to_async'), ('bot.operations.froud_notify.notify_fraud', 'notify_fraud'), ('bot.operations.users.delete_user', 'delete_user'), ('bot.operations.users.edit_user', 'edit_user'), ('bot.operations.users.get_hotels_for_user', 'get_hotels_for_user'), ('bot.operations.users.get_users_for_hotel', 'get_users_for_hotel'), ('bot.operations.users.show_user_hotels', 'show_user_hotels'), ('bot.operations.users.show_users', 'show_users'), ('bot.operations.users.show_users_in_hotel', 'show_users_in_hotel'), ('bot.operations.users.sync_to_async', 'sync_to_async'), ('bot.operations.users.user_action_menu', 'user_action_menu'), ('bot.operations.settings.set_notification_time', 'set_notification_time'), ('bot.operations.settings.settings_menu', 'settings_menu'), ('bot.operations.settings.show_current_settings', 'show_current_settings'), ('bot.operations.settings.sync_to_async', 'sync_to_async'), ('bot.operations.settings.toggle_email', 'toggle_email'), ('bot.operations.settings.toggle_telegram', 'toggle_telegram'), ('bot.management.commands.run_bot.setup_bot', 'setup_bot'), ('hotels.pms_check.sync_to_async', 'sync_to_async'), ('hotels.views.render', 'render'), ('hotels.pms_parse.parse_pms_data', 'parse_pms_data'), ('hotels.admin.format_html', 'format_html'), ('hotels.admin.redirect', 'redirect'), ('app_settings.app_settings.load_database_settings', 'load_database_settings'), ('app_settings.signals.receiver', 'receiver'), ('app_settings.signals.update_system_settings', 'update_system_settings'), ('app_settings.views.render', 'render'), ('app_settings.urls.placeholder_view', 'placeholder_view'), ('antifroud.models.unescape', 'unescape'), ('antifroud.models.unquote', 'unquote'), ('antifroud.data_sync.parse_qs', 'parse_qs'), ('antifroud.data_sync.scheduled_sync', 'scheduled_sync'), ('antifroud.data_sync.unquote', 'unquote'), ('antifroud.check_fraud.parse_qs', 'parse_qs'), ('antifroud.check_fraud.run_reservation_check', 'run_reservation_check'), ('antifroud.views.csrf_exempt', 'csrf_exempt'), ('antifroud.views.import_hotels', 'import_hotels'), ('antifroud.views.import_selected_hotels', 'import_selected_hotels'), ('antifroud.views.login_required', 'login_required'), ('antifroud.views.redirect', 'redirect'), ('antifroud.views.render', 'render'), ('antifroud.views.staff_member_required', 'staff_member_required'), ('antifroud.views.sync_log_create', 'sync_log_create'), ('antifroud.urls.placeholder_view', 'placeholder_view'), ('antifroud.admin.get_object_or_404', 'get_object_or_404'), ('antifroud.admin.import_selected_hotels', 'import_selected_hotels'), ('antifroud.admin.redirect', 'redirect'), ('antifroud.admin.reverse', 'reverse'), ('pms_integration.manager.sync_to_async', 'sync_to_async'), ('pms_integration.utils.get_all_plugins', 'get_all_plugins'), ('pms_integration.views.render', 'render'), ('pms_integration.admin.format_html', 'format_html'), ('pms_integration.admin.render', 'render'), ('pms_integration.admin.reverse', 'reverse'), ('pms_integration.plugins.realtycalendar_pms.sync_to_async', 'sync_to_async'), ('pms_integration.plugins.shelter_pms.sync_to_async', 'sync_to_async'), ('pms_integration.plugins.bnovo_pms.sync_to_async', 'sync_to_async'), ('pms_integration.plugins.ecvi_pms.sync_to_async', 'sync_to_async'), ('pms_integration.plugins.base_plugin.abstractmethod', 'abstractmethod'), ('touchh.urls.include', 'include'), ('touchh.settings.load_dotenv', 'load_dotenv'), ('touchh.utils.log.load_dotenv', 'load_dotenv'), ('scheduler.models.get_available_functions', 'get_available_functions'), ('scheduler.models.now', 'now'), ('scheduler.test_module.test_function', 'test_function'), ('scheduler.utils.execute_function', 'execute_function'), ('scheduler.utils.get_project_functions', 'get_project_functions'), ('scheduler.utils.load_gitignore_patterns', 'load_gitignore_patterns'), ('scheduler.utils.reload_tasks_periodically', 'reload_tasks_periodically'), ('scheduler.views.render', 'render'), ('scheduler.tasks.import_module', 'import_module'), ('scheduler.tasks.load_tasks_to_scheduler', 'load_tasks_to_scheduler'), ('scheduler.tasks.reload_tasks', 'reload_tasks'), ('scheduler.tasks.schedule_task_reloader', 'schedule_task_reloader'), ('scheduler.tasks.setup_scheduler', 'setup_scheduler'), ('scheduler.tasks.sync_to_async', 'sync_to_async'), ('scheduler.management.commands.run_scheduler.setup_scheduler', 'setup_scheduler')], max_length=500, verbose_name='Путь к функции (модуль.функция)'), ), ]