1. Matthew Schinckel
  2. django-timedelta-field
Issue #6 resolved

Options to limit timedeltas

Stuart Axon
created an issue

Some options to limit what kind of deltas can be stored would be useful.

  • max_delta = datetime.timedelta(mins=5)
  • min_delta = datetime.timedelta(mins=10)

Comments (4)

  1. Matthew Schinckel repo owner
    • changed status to open

    Good idea. I'm not sure of what the best argument name should be: I think I'll take cues from django fields there.

    Are there limits for other scalar fields? Like IntegerField?

  2. Log in to comment