evorepo/news
Dan McGee 90e08b4863 Make all datetime objects fully timezone aware
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to
ensure we don't mix aware and non-aware datetime objects when dealing
with datetimes in the code. Add a utc_now() helper method that we can
use most places, and ensure there is always a timezone attached when
necessary.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23 19:54:40 -05:00
..
migrations Add some migrations to convert database to UTC time 2011-04-07 17:03:06 -05:00
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
admin.py Spruce up news admin view 2010-09-15 09:04:00 -05:00
models.py Make all datetime objects fully timezone aware 2012-03-23 19:54:40 -05:00
urls.py Change Django urls.py import 2012-03-23 19:54:40 -05:00
views.py Pylint suggested and other cleanups 2011-10-11 19:29:15 -05:00