dont fail if running outside of django env
This commit is contained in:
parent
92d7c210ca
commit
f3295c0eec
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
try:
|
||||
from django.utils import datetime
|
||||
except ImportError:
|
||||
except:
|
||||
from datetime import datetime
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue