Skip to content

Instantly share code, notes, and snippets.

View mercutio22's full-sized avatar

Hugo A. M. Torres mercutio22

  • Sao Paulo Brazil
View GitHub Profile
@mercutio22
mercutio22 / views.py
Created June 1, 2012 08:03
main search class
from django.views.generic import ListView
from django.db.models import Q
from models import GeneInformation, MirnaInformation
import re
from django.core.exceptions import FieldError
from base.views import Intragenic, Intergenic, HostGenes
class Search(ListView):
paginate_by = 10