Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed small regression from 51aa000.

A test failed if the path to the Django checkout contained a dot.

Refs #20485.
  • Loading branch information...
1 parent 164c67c commit 6900cb79dcbc502e0b18476e53ad493b7069ffb8 @aaugustin aaugustin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/management/commands/
2  django/core/management/commands/
@@ -172,7 +172,7 @@ def _find_fixtures(self, fixture_label):
ser_fmts = serializers.get_public_serializer_formats() if ser_fmt is None else [ser_fmt]
# Check kept for backwards-compatibility; it doesn't look very useful.
- if '.' in fixture_name:
+ if '.' in os.path.basename(fixture_name):
raise CommandError(
"Problem installing fixture '%s': %s is not a known "
"serialization format." % tuple(fixture_name.rsplit('.')))

0 comments on commit 6900cb7

Please sign in to comment.
Something went wrong with that request. Please try again.