Top "Django-admin" questions

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

How do I make many-to-many field optional in Django?

When you have a many-to-many relationship (related_name, not through) and you are trying to use the admin interface you …

django django-admin many-to-many
Overriding the save method in Django ModelForm

I'm having trouble overriding a ModelForm save method. This is the error I'm receiving: Exception Type: TypeError Exception Value: save() …

python django django-forms django-admin
Django-Admin: CharField as TextArea

I have class Cab(models.Model): name = models.CharField( max_length=20 ) descr = models.CharField( max_length=2000 ) class Cab_Admin(admin.…

django django-admin
Troubleshooting "Related Field has invalid lookup: icontains"

I have the following models in models.py: class ListinoTraduttore(models.Model): traduttore = models.ForeignKey('Traduttore', related_name='Traduttore') linguaDa = …

exception django-admin
"settings.DATABASES is improperly configured" error performing syncdb with django 1.4

I've created a simple django 1.4 project and am trying to issue syncdb to create the (postgres) db schema. I'm getting …

django django-models django-admin
"No installed app with label 'admin'" running Django migration. The app is installed correctly

I am trying to use admin.LogEntry objects during a datamigration on Django 1.7 The 'django.contrib.admin' app is listed …

python django django-admin django-migrations
Django Admin Show Image from Imagefield

While I can show an uploaded image in list_display is it possible to do this on the per model …

django django-admin
Overriding admin css in django

I want to change certain css in admin django like base.css. Is it better to change directly in the …

django django-admin
How to add a calculated field to a Django model

I have a simple Employee model that includes firstname, lastname and middlename fields. On the admin side and likely elsewhere, …

python django-models django-admin
Can I make list_filter in django admin to only show referenced ForeignKeys?

I have a django application which has two models like this: class MyModel(models.Model): name = models.CharField() country = models.…

django django-admin