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.
Also take a look on the groups:
"
Groups
Groups are a generic way of categorizing users so you can apply
permissions, or some other label, to those users. A user can belong to
any number of groups.
A user in a group automatically has the permissions granted to that
group. For example, if the group Site editors has the permission
can_edit_home_page, any user in that group will have that permission.
Beyond permissions, groups are a convenient way to categorize users to
give them some label, or extended functionality. For example, you
could create a group 'Special users', and you could write code that
could, say, give them access to a members-only portion of your site,
or send them members-only e-mail messages.
"
Now try to use this infomation. The documentation should point out,
that i have to create the groups with the Admin, that i have to add
the users in the Admin to those groups. It should also tell me if/how
i can add/remove users to group by code? Or creating the groups by
running syncdb (probably i have to use some dumpload)
What i want to say is that the provided infomation is not realy
usefull for someone begining django. I have to read the docs and then
start searching on the web to figure out how to use the functionality.
Thats what seems insufficient to me. And this are only 2 aspects i
wrote down as a example.
Now i just ordered 2 Books on Django and one on Python :) Hope they
will cover functions more complete.
PS:
http://djangoapi.quamquam.org/trunk/
_thanks
On 25 Nov., 01:38, Brian Neal <
bgn...@gmail.com> wrote:
> On Nov 24, 5:18 pm, ReneMarxis <
rene.mar...@yahoo.de> wrote:
>
> > hi
>
> > as mentioned earlyer today i am very new to django and againe have
> > some question, this time reguarding the documentation.
>
> > I started django by duing the tutorial, and now i started building my
> > own little project from ground up :) but i am lacking of information.
> > I am missing some documentation, some good organised api.
>
> > E.g. i want to implement AUTH_PROFILE_MODULE to store additional infos
> > on the user. The documentation fromhttp://docs.djangoproject.comsays
> > "define that in settings.py and in your model and use it via
> > get_profile" But no one tells you that you have to create it by
> > yourself and save it also. Ok this is something you can try out but
> > the information would be placed good on the doc side.
>
>
http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-...http://www.djangobook.com/en/1.0/chapter12/#cn222