Re: OneToOneField and generic views

2005-09-09 Thread [EMAIL PROTECTED]
This seems to fix the problem, but I don't think this is a good solution. Hopefully this patch makes the issue a little clearer though: Index: django/views/generic/create_update.py === --- django/views/generic/create_update.py

OneToOneField and generic views

2005-09-09 Thread Joseph Kocherhans
The generic view django.views.create_update.update_object requires the object to have an id in line 99. manipulator = mod.ChangeManipulator(object.id) Objects with OneToOneFields don't have an id attribute. Instead they have something like "relatedobject_id" I'm not sure where this should be

Trac Property Permissions

2005-09-09 Thread Paul Bowsher
Any way of opening up registrations for trac? There's a LOT of anonymous changing of ticket properties (one even switched a ticket owner from adrian to anonymous) which is becoming a pain. Allow registrations then restrict postig to registered users only? -- Paul Bowsher IT Systems Developer Simp

Django and SQLObject. Why not working together?

2005-09-09 Thread Sokolov Yura
Django Model is wonderfull. But SQLObject more flexible (and powerfull, as i think, and has already more db interfaces). But Django Model is tied with Django, and using Django with another OO mapping is not comfortable. Why do not working together? I can't understand. If you (Django and SQLObject

Re: Authorisation

2005-09-09 Thread Robert Wittams
Jason Huggins wrote: > > Robert Wittams wrote: > >>It seems that custom authorization is a common pattern that the generic >>views and admin interface do not handle. > > > I agree. > > >>Any thoughts? I'm currently doing the first option with a wrapper round >>the generic views. But I think