Wednesday, January 22, 2014

Re: django with no relational db?

You do lose a lot without a relational DB: model forms, auth, admin. I think sessions should work as long as you do not use the DB backend.

You could try django-nonrel: http://django-nonrel.org/ I have never tried it myself but from the documentation it seems to keep a lot more of the functionality of Django than just using Django without a relational DB.

There are plenty of other Python frameworks. Flask is worth a look.

You may get a better answer if we knew why you are using the file system and nosql. 

On Wednesday, January 22, 2014 8:26:49 AM UTC+5:30, devash wrote:

 I am building an app with no relational DB. All data will be in flat files now and nosql dbs in future.

 I plan to use django-tastypie for rest api and mostly pure python from rest api code to connect to file system and non relational backend python api. I do not plan to use Django ORM.

 I will have web pages, d3.js, authenticated users and sessions.

 1) Is it even possible to use Django without relational DB?

 I noticed many of Django's core app like auth and session depend on having relational DB. Am i correct?

 2) Does it even make sense to use Django here? Is Django appropriate technology/framework to use here? or any other python alternatives I should look at?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/85bd3a1b-41bc-40ce-954d-cb33060de572%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate