Best way to keep changes in django-admin for future releases? -


I was wondering what is the best way to modify django-admin? Is this the best way to modify and compatibility to future releases?

Especially I'm thinking again on search_fields, where Field__ Xact is required (= field) gets converted to field__iexact in the construction area of ​​the query?

I just want to make amendments in a way that they are applicable in future releases.

Thanks, Angel

It is not possible to change default search , The place where __Exact Lookup is actually built in the main part of the admin system. So it can not be solved by applying its own administrator or meta derivatives.

You can try your own search form, but for that you will need a lot of rewriting because you will need to hack in some javascript list display, with the list queries Bella will need to find a way. However it is likely to be supported in the entire 1.x release. Although you want to support the new admin features for future releases, you may need to customize your template a little bit.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -