Instead of having two models, tasks and subtasks, have just one model and foreign key to the parent. This will simplify the code and will also provide more flexibility to the user(ie, you can have tasks nested any number of levels.) Change the views accordingly.
Instead of having two models, tasks and subtasks, have just one model and foreign key to the parent. This will simplify the code and will also provide more flexibility to the user(ie, you can have tasks nested any number of levels.) Change the views accordingly.