evorepo/devel
Dan McGee af32c23768 Handle connection and transaction more properly in reporead
A few minor things are fixed here. One is PostgreSQL, and more
specifically pgbouncer, don't like it when the connection is closed
after psycopg2 has started an implicit transaction even for read-only
queries. Ensure we call commit as our last database action in all cases.

The other is related- Django in management commands doesn't ever call
close on any database connection you may have been using, so PostgreSQL
gets mad about this fact and logs a message saying such. Close the
connection explicitly when we are done with it to play nice.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-15 20:49:56 -06:00
..
management Handle connection and transaction more properly in reporead 2013-01-15 20:49:56 -06:00
migrations Fix "RuntimeWarning: DateTimeField received a naive datetime" warnings 2012-12-27 17:02:40 -06:00
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
admin.py UserProfile model and fields shuffle 2012-04-20 11:15:03 -05:00
fields.py UserProfile model and fields shuffle 2012-04-20 11:15:03 -05:00
forms.py Split devel forms out of devel/views.py 2012-09-05 08:44:33 -05:00
models.py Fix case of devel user profile verbose name 2012-12-31 11:47:14 -06:00
tests.py UserProfile model and fields shuffle 2012-04-20 11:15:03 -05:00
urls.py Change Django urls.py import 2012-03-23 19:54:40 -05:00
utils.py Add ability to rematch developers on <username>@archlinux.org addresses 2012-08-15 08:11:00 -05:00
views.py Mark todolist packages as removed rather than deleting them 2012-12-31 11:31:35 -06:00