Re: How to config my django project to use tastypie and mongoengine

2012-11-26 Thread carlos
well mongodb actually no run en django core, but exist other alternative https://github.com/django-nonrel/django-nonrel and http://django-mongodb.org/ Cheers On Sun, Nov 25, 2012 at 3:19 AM, Chanh Le wrote: > In the settings.py > import mongoengine >

How to config my django project to use tastypie and mongoengine

2012-11-25 Thread Chanh Le
In the settings.py import mongoengine mongoengine.connect('cooking') AUTHENTICATION_BACKENDS = ( 'mongoengine.django.auth.MongoEngineBackend', ) SESSION_ENGINE = 'mongoengine.django.sessions' MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware',