Package expedient :: Package common :: Package utils :: Module modelfields
[hide private]
[frames] | no frames]

Module modelfields

source code

Created on Jul 18, 2010


Author: jnaous

Classes [hide private]
  MACAddressField
A field that validates MAC addresses in XX:XX:XX:XX:XX:XX format.
  LimitedIntegerField
An IntegerField with min and max values.
  IPNetworkField
A field that accepts either IP address or IP prefixes (192.168.0.0/16).
  LimitedDateTimeField
A date time field that is limited between a min and max.
Variables [hide private]
  logger = logging.getLogger("common.utils.modelfields")
  __package__ = 'expedient.common.utils'