summaryrefslogtreecommitdiffstats
path: root/news/models.py
AgeCommit message (Collapse)AuthorFilesLines
2011-01-08Remove automatic ID column definitionsDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-14Connect post_save signals where they will always be triggeredDan McGee1-0/+6
We need to do this in the models.py files, otherwise the post_save signal might not be connected right away on launch of the application. Move them over there, add a dispatch_uid so it only gets hooked up once, and do some other function moving around so we don't have circular imports. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Update news views to use slug instead of IDDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Add migrations to populate the news slug and make it non-nullDan McGee1-1/+1
These should get us all set to have more useful URLs for the news items. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Add news slug fieldDan McGee1-0/+1
Initially, this needs to allow null so that we can add in slugs for all of our old news items. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-15Spruce up news admin viewDan McGee1-2/+2
Add last modified date as a column, and fix up some other small display, sorting, and ordering issues. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-15Add last modified date to newsDan McGee1-1/+3
This will come in handy when determining whether resources are out of date, such as our news RSS feed. Also bump the Date fields to DateTime fields for sake of sorting and if we have more than one news item on the same date. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Move news model to an appropriate placeDan McGee1-0/+23
Never would have guessed it should actually be in news/models.py. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Put news under south controlDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-08Moved models aroundeliott1-21/+0
2007-12-30Removed import no longer used.eliott1-1/+0
2007-12-30Massive retab fest.eliott1-12/+15
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/+19
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!