Did I find the right examples for you? yes no

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

src/c/l/clo-summit-HEAD/app/www.py   clo-summit(Download)
from datetime import datetime
 
from models import Participant, ParticipantGroup, SurveyParticipant, Speaker, \
    JOB_TYPE_TUPLE_MAP, get_pricing_per_individual, SURVEY_LINK, BillingSettings, \
    TRANSACTION_TYPE_EBS, PRICING_TAX, EARLY_BIRD_OFFER_END_DATE, HostInformation
def get_host_info(request):
    host_info = HostInformation()
    host_info.ip_address = request.remote_addr
    host_info.http_user_agent = request.headers.get('User-Agent', '')
    host_info.http_accept_language = request.headers.get('Accept-Language', '')