Skip to content

Commit

Permalink
Details to django 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
goinnn committed Oct 6, 2013
1 parent bcf21c4 commit 6b1195c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"last_changed": "2013-10-06 05:21:27.568",
"name": "admin/change_form.html",
"creation_date": "2013-10-06T04:56:37"
"creation_date": "2013-10-06 04:56:37"
}
}
]
4 changes: 4 additions & 0 deletions example/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@
INSTALLED_APPS += ('dbtemplates',
'example.dbtemplates_fixtures')
TEMPLATE_LOADERS = ('dbtemplates.loader.Loader',) + TEMPLATE_LOADERS
if django.VERSION[0] >= 1 and django.VERSION[1] <= 2:
DBTEMPLATES_CACHE_BACKEND = "locmem://"
else:
DBTEMPLATES_USE_CODEMIRROR = True
except ImportError:
pass

Expand Down

0 comments on commit 6b1195c

Please sign in to comment.