Re: Reversal Lookup TODO Needed

2006-05-27 Thread bradford
And another problem. I can't seem to get it to reverse on a url that's in an app urls.py (referenced by the main urls.py, of course). bradford wrote: > I know this is a big/difficult TODO, but the Reversal Lookup needs to > handle nested parentheses. > > I'm talking about (urlresolver.py): > # T

Re: introduction

2006-05-27 Thread Ian Holsman
one more nit to add to my growing pile, while I use integer's as my keys (which is they default django way), others override this and use strings and other weird things. I'm not sure how my previous suggestion would work when you take that kind of thing into account. On 28/05/2006, at 9:04 A

Re: introduction

2006-05-27 Thread oggie rob
> How do you deal with those permissions in the generic and admin views? To be clearer, I meant: How do you deal with those permissions in the generic and admin *list* views? -rob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: introduction

2006-05-27 Thread oggie rob
Hi Chris, I have a little feedback if you are interested. [Just so you know, I'm a "heavy user" of Django but have yet to make a substancial contribution to the project] In general I think your proposal is fine but I have a few points: -Lots of tables there! Can you acheive the same without the e

Re: introduction

2006-05-27 Thread Honza Král
I think that multiple tables are better because its easier to manage - you can use foreign keys inside the DB, thus it can be faster and clearer plus its easier to drop a table than delete many rows. I gave this feature a lot of thought (I thought of applying for it myself ;) ), here are some of m

Re: introduction

2006-05-27 Thread Ian Holsman
Hi Chris... great write up. my only thought was: why do you need multiple tables to store the row level permissions? Luke has recently submitted a 'GenericForeignKey' in http://files.lukeplant.fastmail.fm/public/python/lp_tagging_app_0.1.zip which may be of interest. it would allow you to sto

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

Reversal Lookup TODO Needed

2006-05-27 Thread bradford
I know this is a big/difficult TODO, but the Reversal Lookup needs to handle nested parentheses. I'm talking about (urlresolver.py): # TODO: Handle nested parenthesis in the following regex. result = re.sub(r'\(([^)]+)\)', MatchChecker(args, kwargs), self.regex.pattern) (r'^foo/(?P(/d+)*)/$', ..