#21400: The downloadable documentation displays the wrong version
-------------------------------------+------------------------------------
     Reporter:  bmispelon            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  *.djangoproject.com  |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------

Comment (by claudep):

 Repeating my comment on the duplicate #21394:
 "As I can see, this is not a problem with the documentation version
 itself, but simply with the version number in the title. It might be
 caused by the way the release variable is defined in docs/conf.py."

 I guess the `release` variable depends on the current Python path, because
 of `from django import VERSION` (assuming there are several versions of
 Django on the build server). To prevent this, we might have to open the
 relative `../django/__init__.py` file and eval its `VERSION` line.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21400#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.b7bac1101e283bdc9412e7380d6e4190%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to