from django.db import models
class MyModel(models.Model):
slug = models.SlugField(max_length=100)
duration = models.TimeField(_(u'Duração'))
But when I use model_mommy for this model, it gives me the following error message:
TypeError: <class 'django.db.models.fields.TimeField'> is not supported by mommy.
I have a model like this:
But when I use model_mommy for this model, it gives me the following error message:
TypeError: <class 'django.db.models.fields.TimeField'> is not supported by mommy.