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

    Confused about examples in address_book:search

    asked 2022-11-15 16:10:51 +0000

    Vanessa gravatar image

    Utterance&Annotation provided in the Guideline: addressbook:search -- find contacts named [maria]<contact> Question: We are confused why this utterance belongs to addressbooksearch instead of generic:search:contact according to the boundary between addressbook and generic, which I quote, "Contact-related utterances belong in addressbook if they have a specific reference to the address book, if they require an intent (e.g. add, deletelabel ), object (e.g. age, birthlocation) or mention (e.g. <contact_group>) that is specific to addressbook or if they reference an attribute of a contact (e.g. "set the address of thecontact", "add an address for jon"). Otherwise they belong in generic." Kindly tell us your thought on this :D

    edit retag flag offensive close merge delete

    1 Answer

    Sort by ยป oldest newest most voted
    0

    answered 2022-11-15 16:19:36 +0000

    Jacqui gravatar image

    In this example, it is the fact that "contacts" is in plural that puts it into address book rather than generic. You can notice in the guide that the examples we have for generic:search:contact are all searching for a single contact. The use of the expression "my contact" is also a pointer for choosing address book over generic.

    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-11-15 16:10:51 +0000

    Seen: 106 times

    Last updated: Nov 15 '22