Re: RequestContext not working?

2006-05-26 Thread Andreas Neumeier
Did you overwrite TEMPLATE_CONTEXT_PROCESSORS ? >I made the mistake once, because I didn't knew this variable is filled >by default. You have to write something like: > >TEMPLATE_CONTEXT_PROCESSORS = >DEFAULT.TEMPLATE_CONTEXT_PROCESSORS + >('my.preprocessor',) > >Took me some time to figure out w

Logic error in forms/__init__.py?

2006-05-26 Thread Jeroen Ruigrok van der Werven
Take line 378-381 in django/forms/__init__.py Why on earth does it have: raise validators.ValidationError, ngettext("Ensure your text is less than %s character.", "Ensure your text is less than %s characters.", self.maxlength) % self.maxlength Given how the single form would be "1 character", ca

introduction

2006-05-26 Thread public
hey all, i'm derek, one of the SoC selectees. just thought i'd pop my head in and say hi. :) -- derek anderson http://kered.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post t

Switching SITE_ID's on a per-request basis

2006-05-26 Thread Ian Holsman
hi. I've got a situation where I only have a single process available to process requests, and would like to switch SITE_ID's based on the HTTP_HOST header. I can make it so that the settings.SITE_ID is changed, but that doesn't seem to affect everything.. specifically it seems that the

Issues on making the firebird backend working

2006-05-26 Thread David Elias
Hi there, I've started working on firebird's backend and Adrian is also refactoring for the oracle support, so it's a good time to discuss this :) First, field and constraint names can't be bigger than 31 chars. In the creation.py declared for PositiveIntegerField integer CHECK("%(column)s"

Re: [AUDIT] Enable Django Quick Start / Database Evolution Support

2006-05-26 Thread Ilias Lazaridis
Joseph Kocherhans wrote: > On 5/25/06, lazaridis_com <[EMAIL PROTECTED]> wrote: >> At this point, Django's persistency layer seems intresting, but the >> evaluation uncovered a few weaknesses, most importantly the lack of >> schema evolution support: >> >> http://case.lazaridis.com/multi/wiki/Djan

django-as-framework + https handling problems

2006-05-26 Thread gabor
hi, today i was implementing some RSS feeds. i did the standard class ArticleFeed(Feed): link = "https://bla.com/feeds/articles"; and for some reason it did not work. it kept appending the link-field to the domain-name that was stored in the site object. i checked the documentation, th

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

2006-05-26 Thread medhat
Hi Reverse URL lookup (http://groups.google.com/group/django-developers/browse_thread/thread/a5d12bc4fb073f24/83d7e4cb5f35ed08) is one of the things that I am interested in in django. The way I see myself using this will be roughly as follows: each application will have a 'root' view. Using reve

Template code: `and` as well as `or` in if statement

2006-05-26 Thread Cameron Kenneth Knight
I have implemented `and` for if statements. `and` and `or` cannot mix (because it would be ambiguous) In this template: {% if 1 and 1 %}good 1 and 1{% endif %} {% if 1 and 0 %}bad 1 and 0{% endif %} {% if 0 and 1 %}bad 0 and 1{% endif %} {% if 0 and 0 %}bad 0 and 0{% endif %} {% if 1 or 1 %}good

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. ;

Re: introduction

2006-05-26 Thread Ian Holsman
Hi Chris. why not post your idea onto the list. it's much easier to critique something than wave hands around. you might also want to set up a wiki page on say http:// code.djangoproject.com/wiki/RowLevelPermissions or something I've my own thoughts, but I'd rather see what you have than dicta