Re: #django-devel

2006-07-18 Thread Kenneth Gonsalves
On 19-Jul-06, at 1:31 AM, Brantley Harris wrote: > > Being tired of all the craziness and mundane questions of #django, I > created another room on freenode: #django-devel, where we can discuss > the higher level Django related topics. and how do you guarantee that the crazies and mundane

Re: avoiding ADD CONSTRAINT in management.syncdb()

2006-07-18 Thread Malcolm Tredinnick
On Tue, 2006-07-18 at 22:16 -0400, Alexis Smirnov wrote: [...] > Questions: > - Any idea why MySQL 5.0.20-nt does't like above SQL? You've hit the same bug that David Avraamides posted about on this list last Saturday (see the tread titled "Syncdb generates non-unique foreign key constraints").

avoiding ADD CONSTRAINT in management.syncdb()

2006-07-18 Thread Alexis Smirnov
The following model:class Release(models.Model):    name = models.CharField(maxlength=128)class Software(models.Model):    name = models.CharField(maxlength=128)    release      = models.ForeignKey(Release, null=True, blank=True) class Hardware(models.Model):    name =

Re: Auto-escaping patch

2006-07-18 Thread Malcolm Tredinnick
On Wed, 2006-07-19 at 11:19 +1000, Malcolm Tredinnick wrote: > On Tue, 2006-07-18 at 18:03 -0700, SmileyChris wrote: > > > > Malcolm Tredinnick wrote: > > > On Mon, 2006-07-17 at 03:30 -0700, SmileyChris wrote: > > > > A couple of points: > > > > If a markup filter fails due to an import error,

Re: Auto-escaping patch

2006-07-18 Thread Malcolm Tredinnick
On Tue, 2006-07-18 at 18:03 -0700, SmileyChris wrote: > > Malcolm Tredinnick wrote: > > On Mon, 2006-07-17 at 03:30 -0700, SmileyChris wrote: > > > A couple of points: > > > If a markup filter fails due to an import error, I don't think it > > > should be marked as safe. > > > > Why not? The

Re: Akismet spam filtering for Trac

2006-07-18 Thread [EMAIL PROTECTED]
ok, thnx Chris --~--~-~--~~~---~--~~ 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.com To unsubscribe from this group, send email to

Re: Auto-escaping patch (terminology)

2006-07-18 Thread jeremy bornstein
In some circles, "finalization" is what happens to an object immediately before it is GC'd, so this choice may end up being confusing. This is the case with respect to Java, for example. On Tue, 18 Jul 2006 2:21 pm, Michael Radziej wrote: > > Hi, > > I made up my mind and I think I have the

django-unicode conversion, first experiments, questions

2006-07-18 Thread gabor
hi, i looked at the convert-django-to-unicode problem, did some simple hacks here and there, and got a couple of questions :-) i did not touch the templating and the orm layer for now, so this is about the httpRequest issues... to quickly go through how the request is processed: (i'll only

Re: Akismet spam filtering for Trac

2006-07-18 Thread Tom Tobin
Jacob sits a couple of seats over from me, and he's on his way out the door; he says he'll take a look as soon as he gets home. :-) On 7/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It looks like I just got blacklisted when I tried to post the > compilation of tutorails that i

Re: Akismet spam filtering for Trac

2006-07-18 Thread [EMAIL PROTECTED]
It looks like I just got blacklisted when I tried to post the compilation of tutorails that i mentioned on the user list. Any chance I can get unblacklisted? I can also send the wiki formatted file for anyone to post for me. I assume it happened because the list is mostly a list of links. Any

Re: Auto-escaping patch (terminology)

2006-07-18 Thread Michael Radziej
Hi, I made up my mind and I think I have the solution (for the is_safe terminology, django world domination, and all the rest :-) * finalized * So it's : FinalizedString (replaced SafeString) mark_finalized() (replaces mark_safe) preserves_finalized (replaces is_safe as a function

Re: Auto-escaping patch

2006-07-18 Thread Michael Radziej
Am 18.07.2006 um 18:06 schrieb Daniel Poelzleithner: > > Malcolm Tredinnick wrote: > >> Damn. Your phrasing tipped me off to a case we need this more: RSS >> feeds >> and Atom content elements with type="html". :-( >> >> We might need a "mark as unsafe" filter for these cases (so that >> {{

Re: manipulator via ajax

2006-07-18 Thread Brantley Harris
I haven't actually hooked up the javascript validation yet. But it's a simple task. Basically I created a class called a "Control" (the name isn't right, but it's the going title), the Control has two aspects, one is Django side and one is Javascript side. In the Javascript you declare a

#django-devel

2006-07-18 Thread Brantley Harris
Being tired of all the craziness and mundane questions of #django, I created another room on freenode: #django-devel, where we can discuss the higher level Django related topics. That's all. --~--~-~--~~~---~--~~ You received this message because you are

Re: Code patch

2006-07-18 Thread Jacob Kaplan-Moss
On Jul 18, 2006, at 2:19 PM, jay wrote: > I'm new, so I don't know how to submit a patch. Our developers have > completed the extract_data function in django.db.models.related. It > seems to work fine. See http://www.djangoproject.com/documentation/contributing/ #submitting-patches. >

Re: Generic View Bug and Issues

2006-07-18 Thread Tyson Tate
On 7/18/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: I haven't had a chance to look at this issue, but I'll point out thatthere's no way this is a "show-stopper" problem, given that, ifgeneric views don't suit you, you can just write five-or-so lines of view code manually...AdrianBut surely bugs

Re: Generic View Bug and Issues

2006-07-18 Thread Adrian Holovaty
On 7/18/06, Tyson Tate <[EMAIL PROTECTED]> wrote: > Is there any way I can get a response on this? I really hate to be > annoying and pedantic, but the following problems are literally show- > stopper problems for my Django projects and they're holding up what > is otherwise a working project. I

Re: Generic View Bug and Issues

2006-07-18 Thread Tyson
Simon Willison wrote: > Can you provide code (a model + your view configuration) to allow the > bug to be easily reproduced? > > Thanks, > > Simon Certainly- Model: http://paste.e-scribe.com/774/ blog/urls.py: http://paste.e-scribe.com/773/ templatetags: http://paste.e-scribe.com/775/

Re: Modularized Django (Again)

2006-07-18 Thread Jeremy Dunck
On 7/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Just a small correction... multi-db is not a Summer of Code project, > just a regular old nobody's-paying-me-to-do-it project. :) Sorry about that. The scope and timing of it made me think it was. :-/

Re: Modularized Django (Again)

2006-07-18 Thread [EMAIL PROTECTED]
Just a small correction... multi-db is not a Summer of Code project, just a regular old nobody's-paying-me-to-do-it project. :) JP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: Table options in CREATE TABLE..

2006-07-18 Thread [EMAIL PROTECTED]
> If so, is this something that would work reasonably seamlessly on top of > J Pellerin's multi-database Summer of Code work (different engines => > different connections => essentially different database for that model, > so it falls out of his configuration changes)? Sort of. But mostly not.

Re: Auto-escaping patch

2006-07-18 Thread Daniel Poelzleithner
Malcolm Tredinnick wrote: > Damn. Your phrasing tipped me off to a case we need this more: RSS feeds > and Atom content elements with type="html". :-( > > We might need a "mark as unsafe" filter for these cases (so that {{ var| > escape|unsafe|escape }}) works (or just make "escape" not mark

Re: Generic View Bug and Issues

2006-07-18 Thread Simon Willison
On 18 Jul 2006, at 16:19, Tyson Tate wrote: > Is there any way I can get a response on this? I really hate to be > annoying and pedantic, but the following problems are literally show- > stopper problems for my Django projects and they're holding up what > is otherwise a working project. I

Re: Generic View Bug and Issues

2006-07-18 Thread Tyson Tate
Is there any way I can get a response on this? I really hate to be annoying and pedantic, but the following problems are literally show- stopper problems for my Django projects and they're holding up what is otherwise a working project. I would really appreciate something - anything!

Re: Table options in CREATE TABLE..

2006-07-18 Thread Nebojsa Djordjevic
DavidA wrote: > improve it a bit: > > 1) In addition to providing initial data in a file > /sql/.sql, I think it would be good to support a > form of /sql//.sql so if you want to put > DB-specific stuff in there you can. That way if I moved my app to > PostgreSQL, for example, it wouldn't try to

Re: Table options in CREATE TABLE..

2006-07-18 Thread DavidA
Geert, Just for the record, I use the "SQL initial data file" feature that Adrian mentioned to enable full-text indexing on a couple of my tables. The relevant part of my script is: ALTER TABLE data_rawtrade ENGINE=MyISAM; CREATE FULLTEXT INDEX ix_ft_data_rawtrade_all ON

Re: "allow tags" attribute. stays/vanishes? :)

2006-07-18 Thread Christopher Lenz
Am 17.07.2006 um 16:59 schrieb Adrian Holovaty: > On 7/17/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: >> i can do it by setting the allow_tags attribute to true >> for the given "something" :) >> >> but this feature is not documented, so before i use it in an >> application, i'd like to ask: >>