#23468: fixtures are imported twice with duplicate FIXTURE_DIRS
-------------------------------------+-------------------------------------
     Reporter:  karyon               |                    Owner:  kswiat
         Type:  Bug                  |                   Status:  assigned
    Component:  Core (Management     |                  Version:  1.6
  commands)                          |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by kswiat):

 * cc: konrad.swiat@… (added)


Comment:

 There is new PR with different approach, that checks settings.FIXTURE_DIRS
 in the loaddata fixture_dirs method. If there are duplications or default
 fixture dir of an app, exception is raised.
 ​https://github.com/django/django/pull/3447
 Or maybe it should emit a warning instead of raising?

--
Ticket URL: <https://code.djangoproject.com/ticket/23468#comment:8>
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/064.a249e6ed885077ed3c894b6b274c1cbd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to