Skip to content

Instantly share code, notes, and snippets.

@otkrsk
Last active March 24, 2020 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otkrsk/d051633ae4c0d0f1a9a077ecdfd5d0d6 to your computer and use it in GitHub Desktop.
Save otkrsk/d051633ae4c0d0f1a9a077ecdfd5d0d6 to your computer and use it in GitHub Desktop.
from utils.company.helpers import *
email='b.gump@bubbagump.com'
company = get_company_by_email(email)
from employee.models import EmployeeUser
employee_obj = EmployeeUser.objects.filter(email__iexact=email.strip())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment