Not sure if this is a bug (models.foreignkey)

2008-05-30 Thread onno
I'm not sure if this a bug, maybe somebody can tell: (Django latest trunk on both machines) On my local devserver (python 2.5 ubuntu) I had the following line: menu = models.ForeignKey('menubuilder.menu') This gave an instance of the object Menu the attr "article_set" the above worked on the devs

default permissions

2008-03-30 Thread onno
Hello, The docs changed the way the default permissions are created. Before the docs said that the permissions "can edit ... etc" are created when you include in "class Admin:" in your model. But that did not work because a bug (I think). Anyhow the docs changed on this an now the permissions ar

bugtracker

2008-01-30 Thread onno
Uhm, each time I want to post a bug via the bugtracker in the documentation. I get a error "500, a potential spammer" is something wrong. Here my bug: http://www.djangoproject.com/documentation/authentication/#default-permissions The docs state that the permissions only show up "are created" w

Re: Why newforms does not have required class on label

2007-11-21 Thread onno
On 21 nov, 13:56, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 6:50 AM, onno <[EMAIL PROTECTED]> wrote: > > > Why, did you developers not decide to include a automatic "class > > required" value for label and input fields. > &

Why newforms does not have required class on label

2007-11-21 Thread onno
Why, did you developers not decide to include a automatic "class required" value for label and input fields. Now you have to jump some hoops to get the required class on your label html output. This makes no sense in the general way that django works. something like f = form.form_for_model(Foo)

when examples be back

2007-09-18 Thread onno
When will this page be back online? http://www.djangoproject.com/documentation/models/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developer

Re: max_length vs maxlength

2007-09-01 Thread onno
Aha, sorry the models changed I was looking in newforms for maxlength. My mistake --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@goo

Re: max_length vs maxlength

2007-09-01 Thread onno
Well it is still in the docs so. Maybe adjust it a soon a possible so people will start the correct version. thx On Sep 1, 11:25 am, SmileyChris <[EMAIL PROTECTED]> wrote: > (well at least this is a different complaint than normal) > > On Sep 1, 9:00 pm, onno <[EMAIL PROTECTED

max_length vs maxlength

2007-09-01 Thread onno
In the models we write maxlength in the form we write max_length? Why is there this diffrence? Is that logical? Onno PS. thanxs for writing Django. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D