Authenticating against Django's user database from Lighttpd

2006-05-13 Thread bradford
Will something like this ever be available for use with lighttpd and fastcgi? http://www.djangoproject.com/documentation/apache_auth/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To po

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+)*)/$', ..

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 ta

Re: A bug in reverse url lookup? (and a possible patch)

2006-05-28 Thread bradford
I created a ticket for this: http://code.djangoproject.com/ticket/2025 --~--~-~--~~~---~--~~ 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.

Re: Reversal Lookup TODO Needed

2006-05-28 Thread bradford
I created a ticket for this http://code.djangoproject.com/ticket/2025 --~--~-~--~~~---~--~~ 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.co

wontfix

2006-07-08 Thread bradford
There are many tickets out there marked as wontfix. It would be nice to see an explaination of why the ticket was marked as wontfix on all tickets marked as wontfix. Just a brief description would do. --~--~-~--~~~---~--~~ You received this message because you a

Re: #2217 - Filtering using objects rather than IDs

2006-07-08 Thread bradford
I never understood why you filter an object with foo=foo.id and you create an object with foo=foo. Consistency is nice! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this gro

Re: wontfix

2006-07-08 Thread bradford
Not off the top of my head. The reason I made this comment is because I like going through the timeline and having been noticing a lot of tickets (which I thought were good features/fixes), but were marked as wontfix by adrian with no explaination and no dialoging before hand either. --~--~

Too Much Custom SQL

2006-08-28 Thread bradford
Hi, it seems like I'm constantly writing custom SQL code for everything because the django ORM cannot handle a lot of my requirements (which is perfectly understandable). Would it be such a bad idea to add an api to the django orm that's similar to SQLAlchemy? I don't like having to create curso

Re: Too Much Custom SQL

2006-08-28 Thread bradford
Yes, GROUP BY and aggregate functions were at the top of that list. Others include complex joins, UPDATE FROM, temporary tables (not that often), sequences, and more (but those are the most common), especially stuff that is specific for just postgresql (the database that I happen to be using). An

Broken Filters in Template Conditional

2006-03-24 Thread bradford
when i try the following: {% ifequal bar foo.id|stringformat:"d" %} I get an error saying that: VariableDoesNotExist at /foobars/ Failed lookup for key [id|stringformat:"d"] in foo it's as if it strips anything that's before the '.' please correct me if this is not a bug. --~--~-~--~

results_per_page does not work properly

2006-03-24 Thread bradford
I have added a few extra_lookup_kwargs to my generic object_list and when in {{ results_per_page }} in my template it always displays what I paginate_by. I'm using 0.91. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: results_per_page does not work properly

2006-03-24 Thread bradford
i want the number of objects returned for that particular page. i guess what i want is results_on_page. when i go to page 2 (of my results), which only has 1 object listed it says that results_per_page is 2, i would like it to say 1. what would be even better is if there was a displaying_result

Re: results_per_page does not work properly

2006-03-24 Thread bradford
thanks. that seemed to do the trick. it would be nice to see the displaying_results_from/displaying_result_to feature implemented. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

exception error running syncdb

2006-04-08 Thread bradford
Go an error running the following: $ python manage.py syncdb Creating table auth_message Creating table auth_group Creating table auth_user Creating table auth_permission Creating many-to-many tables for Group model Creating many-to-many tables for User model Creating table django_content_type C