I have a field in my admin page that I’d like to display in Scientific Notation.
Right now it displays something ugly like this. How can I display this as 4.08E+13?

Right now I’m using a standard Decimal field in the model.
Any advice is greatly appreciated.
I’m on Django 1.2.
Well, here’s a work around since I can’t figure out how to do this within the Django Python code. I have the admin pages run some custom javascript to do the conversion after the page is loaded.
Details:
Create this javascript file called “decimal_to_sci_not.js” and place it in your media directory:
Then update your admin.py code classes to include the javascript file: