views:

14

answers:

1

I have two tables, tasks and projects. And every task has a project (and every project can have N tasks).

When adding or editing a task, projects are displayed as dropdown as it should, but dropdown is ordered by ID (or no ordering at all). Because i start to have plenty of projects, is there a way to get projects in a dropdown in alphabetical order?

A: 

The objects should be ordered according to the default ordering specified on their model!

lazerscience
How stupid was i to not to look at that place. I was all wired up with admin.py .. Thankyou!
Jasmo