-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify
__all__
in mixins
and generics
This fixes #2 by specifically saying what will be imported from `mixins.py` and `generics.py` when a star import is done on these files. This is done within `__init__.py`, so the classes can be imported directly from there. This prevents an issue where `rest_framework.mixins` was being imported from `generics.py`, so users were not able to import `rest_bulk_create.mixins`.
- Loading branch information
Kevin Brown
committed
Apr 4, 2014
1 parent
701734a
commit aecad13
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters