On 9/17/06, Chris Long <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> Latest release should fix both. The user_id problem is related to the
> generic relations used in the POP branch, I've written up a ticket
> #2749 about it, but it has been fixed in my branch.
>
> Let me know how it goes.
Worked perf
Hey,
Latest release should fix both. The user_id problem is related to the
generic relations used in the POP branch, I've written up a ticket
#2749 about it, but it has been fixed in my branch.
Let me know how it goes.
Chris
--~--~-~--~~~---~--~~
You received t
Great. Also, don't forget about the patch from a few messages ago, namely:
--- django/contrib/admin/row_level_perm_manipulator.py (revision 3753)
+++ django/contrib/admin/row_level_perm_manipulator.py (working copy)
@@ -77,7 +77,8 @@
#Check that the new row level perms are unique
> I'm going to keep lobbing them at you, until it all works :)
Perfect, keep them coming. :)
Appears to be something related specifically to MySQL. Have it fixed by
Monday.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
The error seems to be related to this code in db/models/query.py:
for related in cls._meta.get_all_related_many_to_many_objects():
for offset in range(0, len(pk_list), GET_ITERATOR_CHUNK_SIZE):
cursor.execute("DELETE FROM %s WHERE %s IN (%s)" % \
Oh, and interestingly, the row level permission I was trying to delete
*does* in fact get deleted, despite my seeing this error.
Jay P.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To p
I'm going to keep lobbing them at you, until it all works :)
I'm still trying to delete a row level permission, and I'm getting:
Traceback (most recent call last):
File
"/Users/jayparlar/Library/Python2.4/site-packages/django/core/handlers/base.py"
in get_response
74. response = callback(requ
Fixed in the latest revision.
Thanks,
Chris
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from th
And another one. This time I'm trying to delete a row level
permission. Not sure what the correct fix for this one is.
Traceback (most recent call last):
File
"/Users/jayparlar/Library/Python2.4/site-packages/django/core/handlers/base.py"
in get_response
74. response = callback(request, *call
Another problem along the same vein just popped up.
I was trying to add a "change user profile" row level permission for a
user, and I got this:
Traceback (most recent call last):
File
"/Users/jayparlar/Library/Python2.4/site-packages/django/core/handlers/base.py"
in get_response
74. response
On 9/12/06, Chris Long <[EMAIL PROTECTED]> wrote:
>
> Nope, not a correct assumption.
>
> Fixed in the latest version, I did try it with the model you have given
> and it does work, but the test was not as indepth (lack of time this
> week). So please give it a try and see if it fixes this problem
Nope, not a correct assumption.
Fixed in the latest version, I did try it with the model you have given
and it does work, but the test was not as indepth (lack of time this
week). So please give it a try and see if it fixes this problem.
Chris
--~--~-~--~~~---~--~--
I decided to try out the RowLevelPermissions branch today, and apply
it to some code I haven't put into production yet.
My model is essentially this:
class UserProfile(models.Model):
home_address = models.TextField(blank=True,null=True)
user = models.OneToOneField(User)
class Admin:
13 matches
Mail list logo