summaryrefslogtreecommitdiffstats
path: root/todolists/models.py
AgeCommit message (Collapse)AuthorFilesLines
2012-12-28Use todolist slugs for all URLsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Populate the todolist slug field and mark non-nullDan McGee1-1/+1
This is ripped off from commit 7c92ddbd3c86d when we added slugs to News objects. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Add todolists slug fieldDan McGee1-0/+1
This will be used to make more descriptive URLs for our todolists. The `null=True` bit will be removed once a data migration is added to add slugs to all previously created todolists. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Todolist URLs map to old_id now, not idDan McGee1-1/+1
This is a short-term fix before adding a slug field to todo lists as we did to news a while back. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Add packages method to new Todolist modelDan McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Add new todolists and todolist package modelDan McGee1-0/+81
Move the todolist model from main to the todolists application, and make a few minor tweaks to field names along the way. Also add a 'raw' field that will hold the originally input text data from the creator or last modifier of the todolist. Add pkgname, pkgbase, arch, and repo fields to a new todolist package model, which will supplement the former foreign key to an actual package object. This will prevent todolist package objects from ever being deleted as they can be now, which is not intuitive. Also change the current boolean 'complete' flag to a 'status' enum that can hold other values. For now, we add 'In-progress' to the mix. Finally, add a 'user' field, and a 'comments' field that will be utilized later by the UI. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Add initial todolists models migrationDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-08Moved models aroundeliott1-33/+0
2007-12-30Massive retab fest.eliott1-21/+23
Also added vim command comment to the end of files.
2007-12-22renamed importseliott1-1/+1
2007-11-03Initial import for public release...eliott1-0/+31
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!