diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2012-11-29 17:23:28 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2012-12-25 20:06:03 +0100 |
commit | bc142abc5592975c08319416d0af12c108504887 (patch) | |
tree | 45d2d0339768ca78b3bef37bb9c887e932470091 /mediagoblin/listings | |
parent | 351fd95fff98d389711a1aa9cc3ba5d661a9b433 (diff) | |
download | mediagoblin-bc142abc5592975c08319416d0af12c108504887.tar.lz mediagoblin-bc142abc5592975c08319416d0af12c108504887.tar.xz mediagoblin-bc142abc5592975c08319416d0af12c108504887.zip |
RIP out mongo
Since sqlalchemy is providing our database abstraction and we have
moved away from Mongo as the underlying database, it is now time to
simplify things and rip out mongo. This provides the bulk of the
changes, and can stand on its own. There are some followup tasks
that can be done, such as removing now unneeded abstraction layers,
e.g. db.sql.fake.py
Diffstat (limited to 'mediagoblin/listings')
-rw-r--r-- | mediagoblin/listings/views.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mediagoblin/listings/views.py b/mediagoblin/listings/views.py index a8824390..3064096c 100644 --- a/mediagoblin/listings/views.py +++ b/mediagoblin/listings/views.py @@ -36,10 +36,6 @@ def _get_tag_name_from_entries(media_entries, tag_slug): tag_name = tag['name'] break break - # TODO: Remove after SQL-switch, it's mongo specific - if hasattr(media_entries, "rewind"): - media_entries.rewind() - return tag_name |