<s> from django . db . models import DateField , DateTimeField , ForeignKey , OneToOneField <EOL> from natural_query . query import NaturalQueryDescriptor , DateNaturalQueryDescriptor , DateTimeNaturalQueryDescriptor <EOL> class NaturalQueryField ( object ) : <EOL> def __init__ ( self , name ) : <EOL> self . name = name <EOL> query_descriptor = NaturalQueryDescriptor <EOL> class DateNaturalQueryField ( DateField , NaturalQueryField ) : <EOL> query_descriptor = DateNaturalQueryDescriptor <EOL> class DateTimeNaturalQueryField ( DateTimeField , NaturalQueryField ) : <EOL> query_descriptor = DateTimeNaturalQueryDescriptor <EOL> class ForeignKeyNaturalQueryField ( ForeignKey ) : <EOL> query_descriptor = NaturalQueryDescriptor <EOL> class OneToOneNaturalQueryField ( OneToOneField ) : <EOL> query_descriptor = NaturalQueryDescriptor </s>
