#22261: reverse() and get_absolute_url() may return different values for same
FlatPage
-----------------------------------+------------------------------------
     Reporter:  allo@…             |                    Owner:  edanm
         Type:  Bug                |                   Status:  assigned
    Component:  contrib.flatpages  |                  Version:  1.6
     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
-----------------------------------+------------------------------------

Old description:

> The FlatPage model implements get_absolute_url without using reverse. The
> comment suggests, that this handles SCRIPT_NAME issues, but the link in
> the admin interface does not work, if you are using a prefix for the
> flatpages urls. The templatetag for resolving a flatpage works just fine.

New description:

 The FlatPage model implements `get_absolute_url()` without using
 `reverse()`. The comment suggests, that this handles `SCRIPT_NAME` issues,
 but the link in the admin interface does not work, if you are using a
 prefix for the flatpages urls. The templatetag for resolving a flatpage
 works just fine.

--

Comment (by Tim Graham):

 #28118 is a duplicate.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22261#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/070.b002d294eb7f3a7e1cbaa2c76080c3cb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to