Answer the question
In order to leave comments, you need to log in
How to change the model field name correctly?
Let's say there is a model
class MyModel(models.Model):
id = models.AutoField(primary_key=True)
date = models.DateTimeField(auto_now=True)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question