manager is a configuration set on how to handle the task.
You can reuse a manager for more tasks but only your own managers
(whereas the restriction)
and every user have have multiple managers.
Where do i go looking for info on how to (non-hacky) change the queryset?
----------Desktop Browser---------
Christoffer Viken / CVi
i=0
str="kI4dJMtXAv0m3cUiPKx8H"
while i<=20:
if i%3 and not i%4:
print str[i],
i=i+1
On Sun, May 29, 2011 at 10:08 AM, Ryan <ryan.osborn@live.co.uk> wrote:
> Yes it is possible, but I think I may have misunderstood you at first. All
> you want to do is to force the user who created the task to become its
> manager? If so you can do this very simply in the django admin using this
> code:
> https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model.
> Just make sure you set editable=False in your model definition for manager
> in the Task model.
>
> Ryan
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment