#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:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------
Changes (by timo):

 * needs_better_patch:  1 => 0


Comment:

 The documentation builds on our server use the
 
[https://github.com/django/djangoproject.com/blob/master/docs/management/commands/update_docs.py
 update_docs] management command so the first version of Django that's
 imported is whatever we have the site deployed with (currently 1.5.4 it
 seems). I believe we need to reload the Django module after modifying
 `sys.path` earlier in the file in order to avoid getting that cached
 version of Django. It seems to work locally for me. What do you think?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21400#comment:6>
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.34121fee15fdc853cf8c78118fc8c16f%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to