Did I find the right examples for you? yes no

All Samples(12)  |  Call(6)  |  Derive(0)  |  Import(6)

src/f/l/Flask-AppBuilder-HEAD/examples/quickhowto2/app/views.py   Flask-AppBuilder(Download)
 
from app import app, db
from .models import Group, Gender, Contact
 
 
def fill_gender():
    try:
        db.session.add(Gender(name='Male'))
        db.session.add(Gender(name='Female'))

src/f/l/Flask-AppBuilder-HEAD/examples/quickhowto/app/views.py   Flask-AppBuilder(Download)
 
from app import app, db
from .models import Group, Gender, Contact
 
 
def fill_gender():
    try:
        db.session.add(Gender(name='Male'))
        db.session.add(Gender(name='Female'))

src/f/l/Flask-AppBuilder-HEAD/examples/masterdetail/app/views.py   Flask-AppBuilder(Download)
 
from app import app, db
from models import Group, Gender, Contact
 
 
def fill_gender():
    try:
        db.session.add(Gender(name='Male'))
        db.session.add(Gender(name='Female'))

src/d/e/denigma-HEAD/denigma/apps/lifespan/rest.py   denigma(Download)
from rest_framework import viewsets
 
from serializers import FactorSerializer
from models import (Study, Experiment, Strain, Measurement, Epistasis,
     Comparison, Type, Regimen, Assay, Manipulation, Intervention, Factor,

src/d/e/denigma-HEAD/denigma/apps/lifespan/admin.py   denigma(Download)
 
from models import Study, Experiment, Measurement, Comparison, Epistasis, Strain
from models import Type, Factor, Manipulation, Intervention, Regimen, Assay, Gender
from models import Variant, StudyType, Population, State, Technology, VariantType, ORType
 

src/e/c/ECAce-Social-Network-Django-Project-HEAD/humanity/admin.py   ECAce-Social-Network-Django-Project(Download)
from django.contrib import admin
 
from models import Gender
from models import HumanBeing, HumanName