On Nov 25, 8:44 am, ReneMarxis <[EMAIL PROTECTED]> wrote:
> Hello Brian
>
> i allready saw those hints on the djangoproject/djangobook homepage
> and that was the reason i was writing this post.
> Imagine i am new to django, i read "i have to add those lines to my
> model and do some stuff on the setting.py file and run syncdb" then
> everything is ok and i can use get_profile to load the profile .
> I did that but running get_profile raises exceptions. I took quite a
> bit to realize that the profile does not get generated automaticly
> (checked in db table) but you have to create it by yourself.
> I mean its just one sentense more but it would save many searching on
> the web.
>

Well, if you worked through the tutorial you should know that you need
to run syncdb after creating a new model. Your user profile is a model
after all and it needs to reside in your database for get_profile to
work. To be honest, it seemed to me your post was a thinly disguised
jab at the docs. We all feel the way you do at first, that everything
is hard to find. But if you keep reading the docs and studying other
people's source code (check out all the django apps on
code.google.com), you'll get the hang of this.

I realize we all learn differently and at our own pace. I think that
the django docs are some of the most well written and comprehensive
docs I have seen for an open source web framework. Seriously. Have you
ever looked at another frameworks docs? If you find the docs lacking
on some point, write a Trac ticket. The developers are very responsive
to documentation requests in my one single experience. They understand
the value of good docs.

I also encourage you to get on the IRC channel. You can get fast
pointers from experts that way if you are stuck.

And finally, don't forget the actual django source code. Learning how
to navigate it and find things in it is very useful. If you are
confused about the docs, take a peek at the code. You will also learn
something about python that way.

Enjoy your experience with django!
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to