Answer the question
In order to leave comments, you need to log in
What is the easiest way to make it possible to fill in the field when creating a model instance, but not to change it when editing?
class AbstractLicense(models.Model):
group = models.ForeignKey(RNGroup, models.CASCADE, verbose_name=_('Разрешение'))
...
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