-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
No, i just saw different model class having the same attribute
created = models.DateTimeFied(...)
Describe the solution you'd like
Can't we move the similar attribute in this case
created = models.DateTimeField(...)
to a separate class and make other class that needs created to inherit from the class?
Describe alternatives you've considered
class DateTimeModel(models.Model):
created = models.DateTimeField(...)
class Meta:
abstract = True
class AnotherModel(DateTimeModel):
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request