Permalink
Browse files

included gviz_api as contrib package

Signed-off-by: Rolf Håvard Blindheim <rolf@moota.com>
  • Loading branch information...
1 parent 8cae5fd commit 46fa101e7b27adb113a36abedcae9660087d88e5 Rolf Håvard Blindheim committed Nov 6, 2013
Showing with 1,096 additions and 3 deletions.
  1. +1 −2 gcharts/__init__.py
  2. +2 −0 gcharts/contrib/__init__.py
  3. +1,091 −0 gcharts/contrib/gviz_api.py
  4. +2 −1 setup.py
View
@@ -2,12 +2,11 @@
import logging
from django.db import models
from django.db.models.query import QuerySet, ValuesQuerySet, ValuesListQuerySet
-from django.db.models.fields import FieldDoesNotExist
try:
import gviz_api
except ImportError:
- raise ImportError("You must install the gviz_api library.")
+ from gcharts.contrib import gviz_api
class _GChartsConfig(object):
@@ -0,0 +1,2 @@
+# -*- coding: utf-8 -*-
+
Oops, something went wrong.

0 comments on commit 46fa101

Please sign in to comment.