Revision history [back]
I would write a Python code iterating over your data which:
- creates users using Django user creation api.
posts questions, answers and comments as below
from askbot.models import User u = User.objects.get(email='user@example.com') q = u.post_question(title='my title', body_text='my text in markdown format', tags='tag1 tag2 tag3') u.post_answer(question=q, body_text='my answer body text') u.post_comment(parent_post=q, body_text='my comment body text')