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

    Revision history [back]

    click to hide/show revision 1
    initial version

    Confused how to deal with "東 京 都"

    In google search, Japan is divided into 47 prefectures, which rank immediately below the national government and form the country's first level of jurisdiction and administrative division. They include 43 prefectures proper, two urban prefectures, one regional prefecture and one metropolis. "東 京 都" (Tokyo Metropolis) belongs to the first-level administrative division of Japan.

    And we found "北京" is tagged as <admin1> in the specific example part from the guideline:

    The following shows specific examples of <admin1> in certain languages. These are intended as examples within those languages to clarify the general guidelinesfor <admin1> and should not be used as indications of how to use <admin1> outside of those languages. In other languages, the general guidelines and the generalexamples should be followed for these entities.

    Language Chinese

    Examples "台湾", "香港", "上海", "北京", "澳門", "四川省", "广东省", "湖南省", "甘肃省", "内蒙古"

    We take "東 京 都”and "北京" as the similar cases, so we tagged "東 京 都" as <admin1>. We are not sure if this annotation is correct, kindly let us know your thought. Thanks~