0001-management-add-possibility-to-limit-cron-to-a-single.patch
combo/data/management/commands/cron.py | ||
---|---|---|
33 | 33 |
for appconfig in apps.get_app_configs(): |
34 | 34 |
if not hasattr(appconfig, 'hourly'): |
35 | 35 |
continue |
36 |
if options.get('application') and appconfig.name != options.get('application'): |
|
37 |
continue |
|
36 | 38 |
if hasattr(appconfig, 'is_enabled') and not appconfig.is_enabled(): |
37 | 39 |
continue |
38 | 40 |
try: |
39 |
- |