File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 12
12
from django .core .management import execute_from_command_line
13
13
from django .utils import timezone
14
14
15
+ INSTALLED_APPS = [
16
+ 'django.contrib.contenttypes' ,
17
+ 'django.contrib.auth' ,
18
+ 'timezone_utils' ,
19
+ 'tests' ,
20
+ ]
21
+
15
22
if not settings .configured :
16
23
test_runners_args = {}
17
24
if VERSION < (1 , 6 ): # pragma: no cover
25
+ INSTALLED_APPS .append ('discover_runner' )
18
26
test_runners_args = {
19
27
'TEST_RUNNER' : 'discover_runner.DiscoverRunner' ,
20
28
}
25
33
'NAME' : ':memory:' ,
26
34
},
27
35
},
28
- INSTALLED_APPS = (
29
- 'django.contrib.contenttypes' ,
30
- 'django.contrib.auth' ,
31
- 'discover_runner' ,
32
- 'timezone_utils' ,
33
- 'tests' ,
34
- ),
36
+ INSTALLED_APPS = tuple (INSTALLED_APPS ),
35
37
MIDDLEWARE_CLASSES = (
36
38
'django.middleware.common.CommonMiddleware' ,
37
39
'django.middleware.csrf.CsrfViewMiddleware' ,
Original file line number Diff line number Diff line change 19
19
from django .utils .translation import ugettext_lazy as _
20
20
21
21
# App
22
- import forms
22
+ from timezone_utils import forms
23
23
24
24
__all__ = ('TimeZoneField' , 'LinkedTZDateTimeField' )
25
25
You can’t perform that action at this time.
0 commit comments