#14678: Users are able to add more than one page to the same url
-------------------------------------+-------------------------------------
               Reporter:  seler      |          Owner:  j4nu5
                   Type:  Bug        |         Status:  assigned
              Milestone:  1.4        |      Component:  contrib.flatpages
                Version:  SVN        |       Severity:  Normal
             Resolution:             |       Keywords:  flatpages, unique,
           Triage Stage:  Accepted   |  sites
    Needs documentation:  1          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  0
                  UI/UX:  0          |  Easy pickings:  1
-------------------------------------+-------------------------------------
Changes (by j4nu5):

 * needs_better_patch:  1 => 0
 * needs_docs:  0 => 1


Comment:

 Unique together does not work with many 2 many fields.
 https://code.djangoproject.com/ticket/702

 I have thus added a m2m_changed listener in flatpage model which throws an
 exception on finding duplicate entries.

 I think we need a design decision here as to whether this exception should
 be caught in admin site somehow or this ticket should be merged with
 https://code.djangoproject.com/ticket/702

-- 
Ticket URL: <https://code.djangoproject.com/ticket/14678#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