Changes between Initial Version and Version 1 of Ticket #28290, comment 7


Ignore:
Timestamp:
Apr 13, 2019, 12:41:27 PM (5 years ago)
Author:
Kees Hink

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28290, comment 7

    initial v1  
    1 To make sure i understand the issue correctly: What is missing is the link to the source code. There's a working example of such a `[source]` link in https://docs.djangoproject.com/en/2.2/howto/custom-management-commands/#django.core.management.BaseCommand. That link takes you to https://docs.djangoproject.com/en/2.2/_modules/django/core/management/base/#BaseCommand. I think this is also the intended behavior for the reported pages, because there's a `class` directive.
     1To make sure i understand the issue correctly: Anchors seem to be working fine, see https://docs.djangoproject.com/en/1.11/topics/http/sessions/#django.contrib.sessions.backends.base.SessionBase.__getitem__ as an example.
    22
    3 When i follow the instruction to add a header below the `class` directive, i get these errors:
     3What seems to be missing is the link to the source code. There's a working example of such a `[source]` link in https://docs.djangoproject.com/en/2.2/howto/custom-management-commands/#django.core.management.BaseCommand. That link takes you to https://docs.djangoproject.com/en/2.2/_modules/django/core/management/base/#BaseCommand.
    44
    5 {{{
    6 /Users/kees/Projects/django/docs/topics/http/sessions.txt:434: WARNING: py:meth reference target not found: backends.base.SessionBase.flush
    7 /Users/kees/Projects/django/docs/topics/http/sessions.txt:443: WARNING: py:meth reference target not found: backends.base.SessionBase.set_test_cookie
    8 /Users/kees/Projects/django/docs/topics/http/sessions.txt:443: WARNING: py:meth reference target not found: backends.base.SessionBase.test_cookie_worked
    9 /Users/kees/Projects/django/docs/topics/http/sessions.txt:454: WARNING: py:meth reference target not found: backends.base.SessionBase.delete_test_cookie
    10 /Users/kees/Projects/django/docs/topics/http/sessions.txt:585: WARNING: py:meth reference target not found: backends.base.SessionBase.set_expiry
    11 /Users/kees/Projects/django/docs/topics/http/sessions.txt:694: WARNING: py:meth reference target not found: backends.base.SessionBase.clear_expired
    12 }}}
    13 
    14 So probably this is the right direction, but sphinx can't find all methods in the code. Why, i have no idea. There are no errors for the other referenced methods from `backends.base.SessionBase` (like `get_expiry_date()`).
     5I think this is also the intended behavior for the reported pages, because there's a `class` directive. Is that correct?
Back to Top