Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

src/d/j/django-native-tags-HEAD/example_project/app/tests.py   django-native-tags(Download)
 
    try:
        import GChartWrapper
        def test_gchart(self):
            t = '''{% gchart bvg data encoding=text instance=true as chart %}

src/t/u/tubechaser-HEAD/website/TubeChaser/GChartWrapper/charts/templatetags/charts.py   tubechaser(Download)
from django.template import Library,Node
from django.template import resolve_variable
import GChartWrapper
 
register = Library()

src/g/o/google-chartwrapper-HEAD/gchart/ext/djangoapp/templatetags/charts.py   google-chartwrapper(Download)
from django.template import Library,Node
from django.template import Variable, VariableDoesNotExist
import GChartWrapper
 
# version independent testing for numeric types

src/t/u/tubechaser-HEAD/website/TubeChaser/GChartWrapper/__init__.py   tubechaser(Download)
def chart(context, chart=None, *args, **kwargs):
    import GChartWrapper
    if chart and chart in dir(GChartWrapper):
        return getattr(GChartWrapper, chart)(*args, **kwargs)
    return GChartWrapper.GChart(*args, **kwargs)

src/a/k/akvo-rsr-HEAD/akvo/rsr/templatetags/charts.py   akvo-rsr(Download)
from django.template import Library,Node
from django.template import resolve_variable
import GChartWrapper
 
register = Library()