Tuesday, January 21, 2014

Re: django with no relational db?

On 01/21/2014 06:56 PM, 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?
>

Just use sqlite, that gets rid of any complication/overhead of running a
service based db, and will cover auth stuff. Django really isn't meant
to run from flat files (there is a cheat using django flatpages) but
that's so you can edit through the web.

But yes this might be more than you need and you could look at
Pyramid/Pylons which less stuff to begin with.

Enjoy,
Alex

--
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/52DF5AFB.9090908%40wildintellect.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