Did I find the right examples for you? yes no

All Samples(10)  |  Call(2)  |  Derive(0)  |  Import(8)

src/d/j/django-markers-1.0/markers/views.py   django-markers(Download)
from django.views.generic import View
 
from .models import Marker
from .exceptions import (
    InvalidTemplateError, 
        try:
            marker = Marker(
                template=template,
                hue=self._get_float("hue", 0),
                text=request.GET.get("text",""),

src/d/j/django-markers-1.0/markers/templatetags/markers.py   django-markers(Download)
    InvalidHueError
)
from ..models import Marker
 
register = django_template.Library()
def marker(template, hue=0, opacity=1, text="", text_x=None, text_y=None, text_size=10, text_colour="000000"):
 
    try:
        marker = Marker(
            template,

src/d/j/django-webmap-corpus-0.5/webmap/admin.py   django-webmap-corpus(Download)
# the geographic_admin folder must be on your python path
# for this import to work correctly
from models import Poi, Photo, PhotoAdminForm, Marker, Property, LegendAdminForm, Legend, Sector, Status, License, BaseLayer, OverlayLayer
 
USE_GOOGLE_TERRAIN_TILES = False

src/c/h/chimere-2.0.3/chimere/utils.py   chimere(Download)
         - error detail on error
        """
        from models import Marker, Route
        new_item, updated_item, msg = 0, 0, ''
        source, msg = self.get_source_file(['.kml'])
         - error detail on error
        """
        from models import Marker, Route
        new_item, updated_item, msg = 0, 0, ''
        tmpdir = tempfile.mkdtemp()
         - error detail on error
        """
        from models import Marker, Route
        new_item, updated_item, msg = 0, 0, ''
        source, msg = self.get_source_file(['.csv'])
         - error detail on error
        """
        from models import Marker
        new_item, updated_item, msg = 0, 0, ''
        feed = feedparser.parse(self.importer_instance.source)
    def put(self, extra_args={}):
        # first of all: reimport in order to verify that no changes has been
        # made since the last import
        from models import Marker
        new_item, updated_item, msg = self.get()