django-admin
Custom View on a table in the administration console
I have a simple table in my Django app that looks like: class Setting(models.Model): group = models.CharField(null=False, max_length=255)[详细]
2023-04-06 14:46 分类:问答overriding methods of ModelAdmin
I am working on a Django project where any time an admin does something in the admin console (CRUD), a set of people gets notified.I was pointed to three methods on ModelAdmin called log_addition, log[详细]
2023-04-06 13:10 分类:问答Pass initial value to a modelform in django
How can I pass an initial value for a field to a model form. I have something like the following code[详细]
2023-04-06 11:55 分类:问答Customize Django admin index page to display model objects
In the Django admin index page, the app and its models will normally be listed. How can the model objects also be listed in this index page? Instead of displaying just the app, I want to also d开发者_[详细]
2023-04-06 07:24 分类:问答Using Django Admin Tables in user views?
Is it possibe to use the sortable, searchable tables that admin users get fro开发者_JS百科m a non-admin/staff view?[详细]
2023-04-06 05:46 分类:问答discovering which admin performed an action in Django
I am trying to set up a system where every time something happens in the admin console (let\'s say, a user is saved), a certain set of people gets notified.I hooked up post_save and[详细]
2023-04-05 16:26 分类:问答Django-Media For Each app in apps
How Can Make media For Each app In One Project??? For Example I Have A Project That\'s Name Is MyProject And Have Tow Application That\'s Names Are myapp1 and myapp2 And Want To Make Medi开发者_C百科a[详细]
2023-04-05 01:34 分类:问答Django admin - importing images to the text
I\'ve pasted below small part of my models class. It\'s a class for publishing entries (articles, blog posts etc.). On most we开发者_开发知识库bsites news images are pasted below the text of message.[详细]
2023-04-04 22:34 分类:问答Django auth.User in Admininterface: coercing to Unicode: need string or buffer, User found
I\'m pretty new to django. I try to use the auth.User object as a foreign key. My model: from django.contrib.auth.models import User[详细]
2023-04-04 16:54 分类:问答Django admin filter on null date
The filter options on django admin for开发者_如何转开发 a date are: Any date Today Past 7 days This month[详细]
2023-04-04 15:25 分类:问答