Below is my Base class
class User(AbstractUser):
class Meta:
verbose_name =_("Student")
verbose_name_plural = _("Students")
ROLE = (
('STUDENT', 'Student'),
('TEACHER', 'Teacher'),
('STUDENT-TEACHER', 'Student-Teacher')
)
username = models.CharField(verbose_name=_('Username'), max_length=100,
Hi there
Does anyone know how I show the data in admin.Stackedinline but the user
can add but not change.
I am trying has_change_permission as false but it's not showing the old
data it just allow me to add a new data.
I would like to see the list of data but not edit. There is in
admin.ModelAd
2 matches
Mail list logo