* added flake8 and flake8-import-order to travis for py27 * fixed a test that fails from time to time depending on an order of a dict * flake8 tweaks for the entire codebase excluding tests
27 lines
597 B
Python
27 lines
597 B
Python
import connection
|
|
from connection import *
|
|
import document
|
|
from document import *
|
|
import errors
|
|
from errors import *
|
|
import fields
|
|
from fields import *
|
|
import queryset
|
|
from queryset import *
|
|
import signals
|
|
from signals import *
|
|
|
|
__all__ = (list(document.__all__) + fields.__all__ + connection.__all__ +
|
|
list(queryset.__all__) + signals.__all__ + list(errors.__all__))
|
|
|
|
VERSION = (0, 10, 7)
|
|
|
|
|
|
def get_version():
|
|
if isinstance(VERSION[-1], basestring):
|
|
return '.'.join(map(str, VERSION[:-1])) + VERSION[-1]
|
|
return '.'.join(map(str, VERSION))
|
|
|
|
|
|
__version__ = get_version()
|