I tried to follow the following tutorial
http://agileweb.wordpress.com/2009/04/28/step-by-step-guide-to-use-sign-in-with-twitter-with-django/#comment-67
however I failed to get it to work properly.

To eleminate one hypothsis, I was trying to find out if there is an
issue with one of of the steps. The step being #8.
In step 8 it tells you to create a class "class UserProfile
(models.Model):" in a module named UserProfile.

So the question is, should "class UserProfile(models.Model):" be in
UserProfile.py as stated in the tutorial? or should it be a file named
models.py? I though if you are creating a model, then you need add the
app to settings,  create the model in the models.py file, and do
syncdb.

I posted a question to the tutorial, but the author took it down.

I also tried looking for what syncdb does, but all the documentation I
found was http://docs.djangoproject.com/en/dev/ref/django-admin/#syncdb
which does not say much. I also tried looking for the code, but was
not sure what file I should look for. Any clarification would help.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to