#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:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------
Changes (by timo):

 * needs_better_patch:  0 => 1


Comment:

 The patch doesn't work properly. For example, on the 1.6 branch, the
 `VERSION` is currently `(1, 6, 2, 'alpha', 0)` which cause the branch
 which returns `pep386ver + '.dev'` which is the version of Django we have
 on the server + '.dev'. We could continue to try to make this work,
 although it might be simpler just to revert this trick and the associated
 `sys.path` hack as I'm not sure it buys as a whole lot besides one less
 final to bump on each release:

 373df56d36891b9ab1f88519bf9e8f3c0b3bb108
 0b98ef632147a26f2430a3ede48d9e58983cc3ae

 I'm going to leave a comment on Ramiro's original commit to get his input.

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

Reply via email to