bdarnell / django-tornado-demo

Demo app for django and tornado in one process
219 stars 63 forks source link

Fix Django setup to make it work with 1.6 / 1.7 #6

Closed oliver006 closed 9 years ago

oliver006 commented 9 years ago

You need to call django.setup() to finish the Django initialization, otherwise it fails with all sorts of errors for me (Django 1.6 & 1.7).

bdarnell commented 9 years ago

The django.setup method appears to be new in Django 1.7; I don't think this will work in 1.6. But I guess the latest release is all that really matters.