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-biodiversity-HEAD/biodiversity/clima/views.py   django-biodiversity(Download)
from diversity.decorators import session_required
from django.template.defaultfilters import slugify
from diversity.forms import DiversityForm
from biodiversity import grafos 
from biodiversity.utils import MESES 
def index(request):
    '''Vista incluye formulario de consulta'''
    paises = Pais.objects.all()
    if request.method == 'POST':
        form = DiversityForm(request.POST)
                                  context_instance = RequestContext(request))
    else:
        form = DiversityForm()
        return render_to_response('clima/index.html', {'form': form, 'paises': paises},
                                  context_instance = RequestContext(request))

src/d/j/django-biodiversity-HEAD/biodiversity/precio/views.py   django-biodiversity(Download)
from models import *
#from bioversity.utils import _get_elementos
from diversity.forms import DiversityForm, PrecioForm
from diversity.decorators import session_required
from biodiversity.utils import MESES