/django-fancy-cronfield

A nice and customizable cronfield with great, easy to use UI

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Django Fancy Cron Field

https://api.travis-ci.com/rsiemens/django-fancy-cronfield.svg?branch=master

A nice and customizable cron field with great, easy to use UI.

Features

  • Cron widget providing nice gentle select UI
  • Cron format validation
  • Custom django field
  • Ability to specify a daily run limit

Requirements

Fancy cron field requires Django version 1.11 up to 2.2, Python 3.6, 3.7, 3.8, and python-crontab 1.9.5.

Installation

python -m pip install django-fancy-cronfield-alt

Basic usage

Add 'fancy_cronfield' to your INSTALLED_APPS, then use CronField like any regular model field:

from django.db import models

from fancy_cronfield.fields import CronField


class MyModel(models.Model):
    timing = CronField()

Credits