Save Tweepy tweets in database

126 views
Skip to first unread message

coded kid

unread,
May 8, 2012, 6:19:27 AM5/8/12
to Django users
I want to save users tweets in my db (MySQL) But I'm finding it
difficult to get how I will go about it. The main problem is that, I
didn't create any models for it, I just input the below codes in my
views,since I'm getting users tweets through tweepy api.

The question now is, how will I save users tweets in my Database?

Kindly give me a reply if you know how I will solve this problem!
Thanks.

kenneth gonsalves

unread,
May 8, 2012, 6:59:51 AM5/8/12
to django...@googlegroups.com
make a model to hold the tweets and save.
--
regards
Kenneth Gonsalves

coded kid

unread,
May 8, 2012, 7:13:01 AM5/8/12
to django...@googlegroups.com
creating the model is not a problem but the problem is how to make use of it in views.py. You have any idea?

Aziz Bookwala

unread,
May 8, 2012, 7:24:32 AM5/8/12
to django...@googlegroups.com
Hey

You can go through the Django basic documentation on views. It should answer most of your questions.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xhk_1kmqwVwJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
- Aziz M. Bookwala
Reply all
Reply to author
Forward
0 new messages