#12972: flatpages chokes if the url doesn't begin and end with a slash (but 
doesn't
validate for it)
-------------------------------------+-------------------------------------
     Reporter:  jabapyth             |                    Owner:  jabapyth
         Type:  Bug                  |                   Status:  new
    Component:  contrib.flatpages    |                  Version:  SVN
     Severity:  Normal               |               Resolution:
     Keywords:  flatpages,           |             Triage Stage:  Accepted
  validation, 404                    |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by claudep):

 * needs_better_patch:  1 => 0
 * ui_ux:   => 0


Comment:

 The above attached patch is an updated version of a previous patch. It
 depends on #17125 to be committed (possibility to modify regex of a
 RegexField after init). I choose this way of updating the regex because
 the current trend in Django is to prevent global state. If in the future,
 settings might vary in the same code base, this patch might be better to
 address the issue.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12972#comment:12>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to