On Mon, Feb 21, 2011 at 3:08 PM, yolabingo <yolabi...@gmail.com> wrote: > On Feb 20, 9:16 pm, ravi krishna <ravi.9...@gmail.com> wrote: >> Can we use SimpleDB like sqlite or mysql with Django? > > Not at this time.
This is a potentially misleading oversimplification. Yes, you can use SimpleDB with Django. SimpleDB has Python bindings, and a Django site is just a collection of Python code. If you want to use SimpleDB as your data store, you can. However, you can't use SimpleDB as a drop in replacement for a "normal" relational database. Django's models depend on the capabilities of a relational database, so any Django feature that requires access to those features won't work. This means you won't get the benefit of the admin interface, or many of the other contrib tools; or most of the wider community of Django projects. You *can* however use the bits of Django that don't rely on models, such as URL dispatch, basic form processing, templates, and so on. As indicated, there is a project called django-nonrel which is one attempt to provide Django model services to non-relational datastores. Django also hosted a Google Summer of Code project last year aimed at making non-relational datastore backends possible. It's likely that the 1.4 timeframe will see some of these capabilities reach trunk. Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.