Skip to content
Snippets Groups Projects
Commit e276e3a9 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Removed code in default settings to raise exception in case of naive datetime object.

parent 94a0d50a
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,6 @@ from settings_secret import *
USE_TZ = True
import warnings
warnings.filterwarnings(
'error', r"DateTimeField .* received a naive datetime",
RuntimeWarning, r'django\.db\.models\.fields')
# Suitable for production
ALLOWED_HOSTS = ['*']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment