django-admin-filters
__in Filter Does Not Work
I inherited a Django application that serves high school sports information. I recently received a request to modify a certain set of data so information is displayed only from the current season, whi[详细]
2023-04-03 12:09 分类:问答django admin custom list_filter: Is Null/Not Null choices
I have a model: class Label ( TimeStampAwareModel ): name = models.CharField ( max_length = 255, blank = False )[详细]
2023-03-28 10:18 分类:问答django ForeignKey model filter in admin-area?
Hi I need really very very simple example. First my models: #This my student models from django.db import models[详细]
2023-03-23 00:31 分类:问答django: cannot import name SimpleListFilter
I have the code form django docs, but this will output an er开发者_如何学运维ror. ImportError: cannot import name SimpleListFilter[详细]
2023-03-20 21:48 分类:问答Django: Filtering by %filter% not allowed
I inherited a Django v1.2.4 application and am in the process of adding several fixes and improvements. During this process, I suddenly began to encounter the following error:[详细]
2023-03-14 12:37 分类:问答Custom Filter for Date Field in Django Admin, Django 1.2
Is this still valid syntax for Django 1.2? Custom Filter in Django Admin on Django 1.3 or below I have tried it, but the list_filter option in the admin class is not recognizing my custom filter.[详细]
2023-03-09 06:16 分类:问答Django - Admin list_filter only for superuser?
Is it 开发者_如何学Cpossible to show list_filter only for superuser?Override changelist view Store a copy of the original list filter so that you can dynamically set the attribute per-request. Check i[详细]
2023-03-08 12:58 分类:问答Minimize the list filter in django-admin
I quite like the filter feature of django admin views (list_filter). But, on views with a lot of fields, I would really like the ability to minimize/expand it with a click, to save screen real-estate[详细]
2023-03-07 08:10 分类:问答Possible to limit filters ManyToMany/Foreign Key in Django admin for a model where the relationship is defined on the other model?
So the title is a bit obtuse, I know, but I couldn\'t think of a more succinct way to state it. Here\'s the issue:[详细]
2023-02-19 14:30 分类:问答Am I missing something with `raw_id_fields` in my Django Admin?
I am using raw_id_fields on a few foreign keys in my admin interface. When this is rendered, the magnifying-glass icon appears, but takes me to the admin list page for that model entitled \"Select MOD[详细]
2023-02-19 01:47 分类:问答