django-admin
Customising Django Admin Interface
In Django Admin, in the changelist view there is a Add <model_name> button at the top right hand corner.[详细]
2023-04-03 10:00 分类:问答Django-Get Current User In Save Time
How Can I Get Current User When I Want Save Som开发者_如何转开发ething In Django Admin. I Mean When Overriding Save Method???How do you mean? Do you always want to get current user when you override t[详细]
2023-04-03 08:03 分类:问答Triggering new extra forms in django admin
Is there a开发者_JAVA技巧 way to trigger new extra form adding in django inline form? I mean, when user clicks \"Add new inline\", I would like to execute some javascript[详细]
2023-04-03 06:32 分类:问答Can I make an admin field not required in Django without creating a form?
Every time I enter in a new player in the Admin portion of Django I get an error message that says \"This field is required.\".[详细]
2023-04-03 03:56 分类:问答Django-admin + dijit-editor : An un-necessary extra field At the top of the page
I have added a dojo rtf editor to a django admin page using the instructions fromthis blog post (Using Dojo Rich Editor with D开发者_开发知识库jango\'s Admin).[详细]
2023-04-03 00:36 分类:问答Django Admin :: Adding WYSIWYG editors for multiple text area
I tried to use both tinyMCE and dojo\'s editor in Django\'s admin without success. The second textarea i开发者_运维技巧n a page (of inline items) freaks out and can\'t receive focus.[详细]
2023-04-02 23:58 分类:问答Django, custom fields, to_python, and displaying serialized text as-is in Django admin
I have a complex object that I\'m storing serialized in a text field. For most purposes, I want the object pulled from the database to be that complex object. However, when I\'m editing it in a form,[详细]
2023-04-02 16:54 分类:问答Custom Filter in Django Admin on Django 1.3 or below
How can I add a cust开发者_StackOverflowom filter to django admin (the filters that appear on the right side of a model dashboard)?I know its easy to include a filter based on a field of that model, b[详细]
2023-04-02 15:30 分类:问答Problems displaying two fields in same line in django admin
I 开发者_运维问答am having this weird problem of displaying two fields in the same line. According to django docs, for that I just need to wrap the two fields in a tuple. For eg, lets say I have two f[详细]
2023-04-02 12:24 分类:问答Django: Foreign Key relation with User Table does not validate
Consider the following django model from django.db import models from django.contrib import auth class Topic(models.Model):[详细]
2023-04-02 11:48 分类:问答