1. Иван Хомяков

    05.10.2008 02:55

    вот тут
    (http://docs.djangoproject.com/en/dev/topics/templates/#using-the-built-in-reference)
    написано
    Django's admin interface includes a complete reference of all template tags and filters available for a given site. To see it, go to your admin interface and click the "Documentation" link in the upper right of the page.

    установил docutils, добавил класс middleware django.middleware.doc.XViewMiddleware
    но все равно когда перехожу в admin/docs/ получаю "Please ask your administrators to install docutils."

    подскажите что надо сделать чтоб оно заработало?
  2. Иван Сагалаев

    05.10.2008 03:12

    А если в питоновом shell'е написать import docutils, что оно говорит?

  3. Иван Хомяков

    05.10.2008 10:33

    вот
    IDLE 1.2.2
    >>> import docutils
    >>> from docutils.core import publish_cmdline, default_description
    >>>

    запускал tools/buildhtml.py
    оно построило html файлы с документацией. т.е. видимо сама docutils работает...
  4. Иван Хомяков

    05.10.2008 10:38

    спасибо, заработало
    надо было
    INTERNAL_IPS написать в settings.py
  5. Иван Сагалаев

    05.10.2008 13:31

    Это очень странно... По идее, от этого оно не зависит.

bbcode