added missing imports in helper file
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 6 Mar 2017 23:11:23 +0000 (18:11 -0500)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 6 Mar 2017 23:11:23 +0000 (18:11 -0500)
mediagoblin_libreplanet/lp_helper.py

index 9e50146..2c06053 100644 (file)
@@ -17,6 +17,8 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+from mediagoblin.db.models import MediaEntry, Tag, MediaTag
+
 def media_entries_for_tag_slug_case_insensitive(dummy_db, tag_slug):
     return MediaEntry.query \
         .join(MediaEntry.tags_helper) \