Use Readonly Fields. Like so (for django >= 1.2):
class MyModelAdmin(admin.ModelAdmin):
readonly_fields=('first',)
More Related Contents:
- Django auto_now and auto_now_add
- Can “list_display” in a Django ModelAdmin display attributes of ForeignKey fields?
- Django Admin nested inline
- How to display uploaded images in “Change List” page in Django Admin?
- Nested inlines in the Django admin?
- Django admin file upload with current model id
- one-to-many inline select with django admin
- Override a form in Django admin
- Resize fields in Django Admin
- How can I set a default value for a field in a Django model?
- Django Multiple Databases – relation does not exist; LINE 1: SELECT COUNT(*) AS “__count” FROM
- Add custom form fields that are not part of the model (Django)
- Django admin – inline inlines (or, three model editing at once)
- django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. plz help me out plz
- What is the difference between null=True and blank=True in Django?
- What’s the difference between select_related and prefetch_related in Django ORM?
- How to pull a random record using Django’s ORM?
- Django rest framework serializing many to many field
- django template system, calling a function inside a model
- Django Model MultipleChoice
- How to filter objects for count annotation in Django?
- Access django models inside of Scrapy
- ‘NOT NULL constraint failed’ after adding to models.py
- How to change ForeignKey display text in the Django Admin?
- “_set” in a queryset object in Django
- Django – form.save() is not creating ModelForm
- Django Admin Page missing CSS
- How to run cloned Django project?
- Single Table Inheritance in Django
- Can a dictionary be passed to django models on create?