Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/d/j/django-pyvows-0.6.2/django_pyvows/context.py   django-pyvows(Download)
 
from django_pyvows import http_helpers
from django_pyvows.assertions import Url, Model, Template
from django_pyvows.server import DjangoServer
from django_pyvows.settings_manager import settings_tracker
    def model(self, model_class):
        return Model(self, model_class)
 
    def get(self, path):
        return http_helpers.get(self.get_url(path))

src/d/j/django-pyvows-HEAD/django_pyvows/context.py   django-pyvows(Download)
 
from django_pyvows import http_helpers
from django_pyvows.assertions import Url, Model, Template
from django_pyvows.server import DjangoServer
from django_pyvows.settings_manager import settings_tracker
    def model(self, model_class):
        return Model(self, model_class)
 
    def get(self, path):
        return http_helpers.get(self.get_url(path))