Saturday, March 30, 2013

Re: Doubt regarding JSON/SQL in Django

Al 30/03/13 14:14, En/na Parin Porecha ha escrit:
> Hi,
>
> I have just started using Django. I want to create a to-do task
> manager application. Users would register, login and can work with
> their tasks. So, instead of creating a table in the database for each
> user, I want to create a JSON file for each user which will store all
> his tasks.
>
> Is there any way I can do this in Django ?
> I mean, use the database only for authentication, and use JSON to
> store data instead of storing it in the database.

Yes, just import json and work with it, but be aware that you'll loose
most of the functionality that makes django so productive: no
ModelForms, no ORM/Querysets, no admin for tasks, ...



Regards

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment