You are seeing this message because you are using the Django runserver and the DEBUG setting is False.

Runserver should not be used in the production.

If you do not see page the styling - set DEBUG = True or use --insecure flag with the runserver command.

To serve the static media in the production:

  • configure your webserver to alias the urls starting with /m/ to the directory /root/askbot/askbot-devel-master/myappmysql1/askbot_site/static;
  • run python manage.py collectstatic.

  • Ask Your Question
    0

    Not sure if "light_type" is the right mention

    asked 2022-07-31 16:14:05 +0000

    Vanessa gravatar image

    Utterance:

    turn on my lights at home

    Annotation:

    1.environment_control:enable:lights -- turn on my lights at [home]<light_type>
    
    2.environment_control:enable:lights -- turn on my lights at [home]<relative_location>
    

    Questions:

    We find two examples in the guideline:

    1.environment_control:set_duration:lights -- light my way [home]<light_type> for [two minutes]<duration>
    
    2.environment_control:enable:location_specific_automatic_window_opening -- add activation point for the automatic window opener at my [home]<relative_location> address
    

    We are not sure if "home" in this utterance refers to a light type or a relative location. Please advise which annotation is correct.

    edit retag flag offensive close merge delete

    1 Answer

    Sort by ยป oldest newest most voted
    0

    answered 2022-07-31 16:21:35 +0000

    Jacqui gravatar image

    The correct tag for 'home' in this example is <environment>, which covers "entities such as houses and cars that have internal areas of interest", as in this example:

    environment_control:set:temperature -- set the [house]<environment> temperature to [twenty two]<absolute_value> [degrees]<unit>

    So the correct annotation is: environment_control:enable:lights -- turn on my lights at [home]<environment>

    Some clarification - in your example 1, the "light my way home" is a light setting which the user can set to illuminate their way from the car to their home once they have parked, which is why we use <light_type> here.

    In your example 2, "home" is tagged as <relative_location> as the user is specifying the location at which the the window opening should happen.

    edit flag offensive delete link more

    Your Answer

    Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

    Add Answer

    Question Tools

    1 follower

    Stats

    Asked: 2022-07-31 16:14:05 +0000

    Seen: 68 times

    Last updated: Jul 31 '22