Re: Tests 'datatypes' fail

2007-06-27 Thread Michael Radziej
On Wed, Jun 27, Ian Kelly wrote: > Hmm, the test seems to pass for me in mysql. grmbl, it happened *again* I use git-svnimport to sync the svn with my git repository, and it seems to fail around every 6 months under unknown circumstances (probably something with merges), only when I don't

Re: Tests 'datatypes' fail

2007-06-27 Thread Malcolm Tredinnick
On Wed, 2007-06-27 at 14:12 -0600, Ian Kelly wrote: > On 6/27/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Hi, > > > > it seems I'm the only one to run the test suite with mysql ;-) > > > > Ticket #4711 - http://code.djangoproject.com/ticket/4711 > > > > Currently the tests break because

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-27 Thread Russell Keith-Magee
On 6/27/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > Thanks for bringing this up Russ. The problem at the moment is that > the admin doesn't look at any of the inlines when figuring out what > javascript to load, so if your inlines have date fields, the js > doesn't get loaded unless the

Re: Shared memory across processes

2007-06-27 Thread Graham Dumpleton
On Jun 27, 8:07 pm, Robert Coup <[EMAIL PROTECTED]> wrote: > Marty Alchin wrote: > > Regardless though, I think Jacob makes the best point so far: Django's > > cache system is robust enough to handle it if you pick a decent > > backend. And if there's a need to make the built-in options more > >

Re: Tests 'datatypes' fail

2007-06-27 Thread Ian Kelly
On 6/27/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > Hi, > > it seems I'm the only one to run the test suite with mysql ;-) > > Ticket #4711 - http://code.djangoproject.com/ticket/4711 > > Currently the tests break because mysql returns 0 or 1 for a BooleanField, > not False or True.

Re: no attribute 'get_max_name_length'

2007-06-27 Thread Carl Karsten
Carl Karsten wrote: > This just came up - let me know if you need more info. > im CarlFK in #django > > Carl K > > [EMAIL PROTECTED]:~/django/django-src$ > ... > Updated to revision 5556. > > > [EMAIL PROTECTED]:~/django$ django-admin.py startproject foo > [EMAIL PROTECTED]:~/django$ cd foo >

no attribute 'get_max_name_length'

2007-06-27 Thread Carl Karsten
This just came up - let me know if you need more info. im CarlFK in #django Carl K [EMAIL PROTECTED]:~/django/django-src$ ... Updated to revision 5556. [EMAIL PROTECTED]:~/django$ django-admin.py startproject foo [EMAIL PROTECTED]:~/django$ cd foo [EMAIL PROTECTED]:~/django/foo$ python

Re: Shared memory across processes

2007-06-27 Thread Nicola Larosa
Marty Alchin wrote: > I remembered seeing that FastCGI can not only run as prefork, Thank goodness. > but defaults to it. Thank *goodness*. One day mutable-shared-state, preemptive multithreading will be looked down on as the ugly, awful, historical accident that it is. The signs are good

Re: Template tag render method never called

2007-06-27 Thread Kevin Tonon
Thanks. On Jun 27, 1:31 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 6/27/07, Kevin Tonon <[EMAIL PROTECTED]> wrote: > > > I'm using Django 0.91 > > Hi, Kevin. Please ask this question on django-users. The > django-developers list is for people developing Django itself rather > than

Re: Template tag render method never called

2007-06-27 Thread Jeremy Dunck
On 6/27/07, Kevin Tonon <[EMAIL PROTECTED]> wrote: > I'm using Django 0.91 Hi, Kevin. Please ask this question on django-users. The django-developers list is for people developing Django itself rather than using Django for a project. When you do, it'd help to include the template you're

Template tag render method never called

2007-06-27 Thread Kevin Tonon
Hi, I'm using Django 0.91 More or less, this is what I'm doing: from django.core.template import Library, Node register = Library() class MyNode(Node): def __init__(self, foo): self.foo = foo print 'foo' * 100 def render(self, context): print 'bar' * 100

Re: Shared memory across processes

2007-06-27 Thread Marty Alchin
> > The biggest hurdle to dbsettings at this point is that it caches > > settings in a standard Python module, which only exists within a > > single process. This was all well and good while developing it, but > > people are now starting to try it under mod_python, which (depending > > on the

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-27 Thread Joseph Kocherhans
On 6/26/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On 6/20/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > > > Yep. None of the javascript stuff really works right now. The calendar > > and picker widgets for date and time fields, for instance, are broken. > > Sounds like a good

Re: Shared memory across processes

2007-06-27 Thread Forest Bond
On Wed, Jun 27, 2007 at 02:41:15PM -, Donny wrote: > > On Jun 26, 11:28 am, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > > The biggest hurdle to dbsettings at this point is that it caches > > settings in a standard Python module, which only exists within a > > single process. This was all well

Re: Shared memory across processes

2007-06-27 Thread Donny
On Jun 26, 11:28 am, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > The biggest hurdle to dbsettings at this point is that it caches > settings in a standard Python module, which only exists within a > single process. This was all well and good while developing it, but > people are now starting to

Re: Shared memory across processes

2007-06-27 Thread Robert Coup
Marty Alchin wrote: > Regardless though, I think Jacob makes the best point so far: Django's > cache system is robust enough to handle it if you pick a decent > backend. And if there's a need to make the built-in options more > robust, we can deal with that when the need arises. > What about

Re: Status of contrib.comments rewrite?

2007-06-27 Thread David Larlet
2007/6/26, Jacob Kaplan-Moss <[EMAIL PROTECTED]>: > > On 6/26/07, David Larlet <[EMAIL PROTECTED]> wrote: > > I'm just curious, I've read somewhere (maybe here) that the > > contrib.comments package need to be rewritten in order to allow more > > flexibility (like user.get_profile) and to use

Re: Ticket #650 - render_to_response uses Context instead DjangoContext

2007-06-27 Thread SmileyChris
On Jun 27, 8:46 pm, "Paul Bowsher" <[EMAIL PROTECTED]> wrote: > No, this is meant to go at the end of a long view function > def index(request): > # Lots of code > render_to_response_with_req(request, 'home/index.html', {'a': 'dict'}) Firstly, you should be `return`ing this request. ;)

Re: Request for Model History to be merged into trunk (updated code supplied)

2007-06-27 Thread Vsevolod Solovyov
Some time ago I overviewed model history and I realized that I don't like a general idea - one model that logs everything. At that time Django was studied how to create models dynamically (http:// code.djangoproject.com/wiki/DynamicModels) and I wrote small history app for our purposes (of

Re: Ticket #650 - render_to_response uses Context instead DjangoContext

2007-06-27 Thread Paul Bowsher
No, this is meant to go at the end of a long view function def index(request): # Lots of code render_to_response_with_req(request, 'home/index.html', {'a': 'dict'}) etc. On 6/27/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 6/26/07, Paul Bowsher <[EMAIL PROTECTED]> wrote: >