Top "Django-admin" questions

Django's built-in, automatic admin interface (django.

django admin make a field read-only when modifying obj but required when adding new obj

In admin I would like to disable a field when modifying object, but make it required when adding new object. …

django django-admin
What's the difference between staff, admin, superuser in django?

Django has superuser, staff, admin… superuser and staff are in django.contib.auth.models.UserManager. Then there is the createsuperuser …

django django-admin user-permissions
In Django Admin how do I disable the Delete link

I've managed to disable the "Delete selected" action. Easy. But a user can still click on an item and then …

django django-admin
Disable link to edit object in django's admin (display list only)?

In Django's admin, I want disable the links provided on the "select item to change" page so that users cannot …

python django django-admin modeladmin
A Better Django Admin ManyToMany Field Widget

I find the the Django Admin's default models.ManyToManyField widget to be cumbersome to use. It's the HTML select element …

javascript django django-admin html-select
Django - Override admin site's login form

I'm currently trying to override the default form used in Django 1.4 when logging in to the admin site (my site …

django django-admin django-authentication
make django model field read only or disable in admin while saving the object first time

I want to disable the few fields from model in django admin while saving initially. "<input type="text" id="…

python django django-admin django-admin-actions
Custom validation in Django admin

I have a very simple Django app in order to record the lectures given my colleagues.Since it is quite …

python django django-forms django-admin django-validation
DateTimeField doesn't show in admin system

How come my "date" field doesn't come up in the admin system? In my admin.py file i have from …

python django django-admin admin
Manipulating Data in Django's Admin Panel on Save

Ok, so here's the skinny: # models.py class Article( models.Model ): title = models.CharField( max_length = 255 ) author = models.ForeignKey( User ) …

django django-admin foreign-keys save