Re: Enabling Row Level Permissions

2006-07-11 Thread Chris L
> It looks okay and you are protecting with a conditional test that checks > for the right attribute being present. What problems are you seeing? > It's pretty easy to get into a knot in the __new__() method there, but > from the fragment you posted you seem to have avoided the obvious > problems

Re: Enabling Row Level Permissions

2006-07-08 Thread Chris L
No particular wish to be a PPC developer, it's more years of habit of trying to copy down what the prof is saying without falling too far behind. You end up losing some vowels and other unneeded letters at points. :-) I'll change it around. > So the idea here is that the each row in the RowLevelP

Enabling Row Level Permissions

2006-07-08 Thread Chris L
Hi, I've currently set up enabling row level permissions using the meta class, e.g. to enable row level permissions for the Mineral model you would have: class Mineral(models.Model): name = models.CharField(maxlength=150) hardness = models.PositiveSmallIntegerField() class Admin:

Re: Generic Relationships/convert_post_data in forms

2006-06-23 Thread Chris L
lol, good ol' time difference. :) Let me know how it works, might need to create something similiar. Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send ema

Re: Generic Relationships/convert_post_data in forms

2006-06-23 Thread Chris L
>From looking at the code, not sure if you have already thought along these lines, but my thoughts are... You might want to try overriding html2python instead of convert_post_data. The code w/i the convert_post_data looks like what I think you would want, except you have to return the data instea

SoC Row Lvl Perms: Update

2006-06-16 Thread Chris L
Good day to all, An update on how the development of Row Level Permissions are going. For this project, I am using the content-type contrib package to create a generic table to store the row level permissions. Currently the model for row level permission is: class RowLevelPermission(models.Mode

Re: introduction

2006-05-30 Thread Chris L
Thanks everyone for the ideas, I've updated the wiki page. Please take a look if you have a moment and let me know. Thanks, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: introduction

2006-05-27 Thread Chris L
Hi Ian, Wrote up a summary on the wiki page: http://code.djangoproject.com/wiki/RowLevelPermissions Please let me know what you think, if anyone else has any input please let me know. Right now, I'm working through the source code in more depth then my previous exploration of it, and will be mo

Re: introduction

2006-05-26 Thread Chris L
Guess I'll just continue this thread. My name is Chris, another one of the SoC students. I'm working on per row permissions, so if anyone has any ideas on it, please let me know. I have my own idea, but what I think works might be horribly wrong for everyone else. Not to say that my idea sucks. ;