#23468: fixtures are imported twice with duplicate FIXTURE_DIRS
-------------------------------+--------------------
     Reporter:  karyon         |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.6
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 when listing a fixture dir two times in FIXTURE_DIRS, or listing a
 directory there that is already a default fixture dir of an app, fixtures
 in these directories are imported twice when running loaddata.

 in my project someone accidentally added a default fixture dir to the
 FIXTURE_DIRS, and it took us a while to figure out why things were
 imported twice.

 on a side node, if fixtures of the same name are in different directories,
 there are all imported, as opposed to when they are in the same directory
 (with different extensions). is this intended?

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

Reply via email to