summaryrefslogtreecommitdiffstats
path: root/todolists/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-22 02:26:35 +0100
committerDan McGee <dan@archlinux.org>2012-12-28 16:19:17 +0100
commit8be27a5cafde87c439b19f64a7c215410c88484b (patch)
treeed8f6e65870da38967663bf2d4fb9290f537dea2 /todolists/utils.py
parentbf4385a26c1b6f07bf9bdcddf7160b5eb4a71d9a (diff)
downloadarchweb-8be27a5cafde87c439b19f64a7c215410c88484b.tar.gz
archweb-8be27a5cafde87c439b19f64a7c215410c88484b.tar.xz
Add new todolists and todolist package model
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>
Diffstat (limited to 'todolists/utils.py')
0 files changed, 0 insertions, 0 deletions