Admin interface not preventing simultaneous editing of the same record

2009-08-11 Thread David
After being unable to get any advice or further information via google, #django or the users' mailing list, I opened http://code.djangoproject.com/ticket/11652 regarding the admin interface not preventing simultaneous editing of the same record (or at least not providing that as an option). I gues

Re: Admin interface not preventing simultaneous editing of the same record

2009-08-11 Thread David
On Aug 11, 10:29 pm, Russell Keith-Magee wrote: > There are any number of ways to solve this problem by adding a field > to the model (autofield with an 'edit number', timestamp tracking last > edit time etc). However, these aren't really candidates for a general > solution. It didn't occur to

Re: Admin interface not preventing simultaneous editing of the same record

2009-08-11 Thread David
On Aug 12, 12:06 am, Russell Keith-Magee wrote: > Another cause for hesitation is that it would be an admin-specific > solution to the problem. A generic solution that would work for all > ModelForms would be nice if it is possible. Agreed. I shall look at that first since it's more generally

Re: Admin interface not preventing simultaneous editing of the same record

2009-08-12 Thread David
On Aug 12, 12:20 am, Alex Gaynor wrote: > Personally I think including > a JSON dump of the model with the page is the easiest solution, but I > could be convinced otherwise. I have made a little bit of progress: I already had a subclass of forms.ModelForm. I added a form field, overrode over

Re: Admin interface not preventing simultaneous editing of the same record

2009-08-13 Thread David
On Aug 12, 12:20 am, Alex Gaynor wrote: > Personally I think including > a JSON dump of the model with the page is the easiest solution, but I > could be convinced otherwise. I have something that works now: http://pastebin.com/f1bd4c7a3 There's a big comment in the clean() method that expla

Re: Decision required: PostgreSQL minimum versions

2010-06-10 Thread David
I think Redhat added a postgresql-server84 package in RHEL5.5 but that's in addition to regular postgresql-server (8.1) package, not instead of it. Postgres 8.1 is the standard version on RHEL5.x. Since RHEL6 is based on Fedora12, I believe it will use Postgres 8.4. On Jun 10, 8:23 am, Adam Nelso

Re: request.is_ajax() and hidden iframe kludge => request.is_framejax()?

2010-07-16 Thread David
On Jul 16, 2:30 pm, Florian Apolloner wrote: > Hi, > > On Jul 16, 7:25 pm, David De La Harpe Golden > > wrote: > > People doing ajax have probably hit the "XMLHttpRequest doesn't do file > > uploads (at least not non-browser-specifically), use a hidden iframe &g

Re: Django Security

2010-07-20 Thread David
. Would be great to see more documentation detailing && promoting best practices. Love regards etc David Miller 07854 880 883 www.deadpansincerity.com -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Logging all/slow queries

2011-07-19 Thread David
I think it would be useful to be able to log all queries and/or some "slow" subset of queries in production (DEBUG=False). I understand clearly the reasoning why queries are currently only logged in debug mode, but not all problems crop up in debug mode. This does duplicate some functionality of RD

Re: 1.2 Proposal: django debug toolbar in contrib

2009-08-13 Thread David Cramer
I think it's mostly only my fork (and it's forks) that vary much from trunk. I never got around to changing the framework to come in line with the master branch I think because it didn't support everything that was needed. Not sure if it does now however. On Aug 12, 4:00 pm, Rob Hudson wrote: >

Re: 1.2 Proposal: django debug toolbar in contrib

2009-08-13 Thread David Cramer
Oh, and thats most likely my branch you're referring to Martin. I implemented a lot of the panels, and went so far as adding crazy monkey patching in some of them to catch some information I wanted. http://github.com/dcramer/django-debug-toolbar/tree/master On Aug 11, 11:38 am, Martin Maney wro

Re: Proposal: JS library in admin and tools

2009-08-18 Thread David Zhou
On Tue, Aug 18, 2009 at 1:35 PM, Yuri Baburov wrote: > > In example, I want some django 3rd-party or contrib package with > autocomplete fields, ajax validation, ajax form sending and inline > property editing. > I want to be able to integrate it into admin interface and overall > interface in pai

Re: About multilingual models

2009-08-19 Thread David Danier
e done) -> should use the language of the request or some other default language without the need to tell it so (sites usually only display one translation at a time, of course there needs so exist some way to get all translations) Greetings, David Danier --~--~-~--~~~

Re: I need a pony: Model translations (aka "my proposal")

2009-08-19 Thread David Danier
akes adding new attributes more easy. Using the Meta-subclass allows future ModelTranslation's to add/override fields to/of the original model and keeps this in sync with normal models (ModelTranslation could be a subclass of models.Model, using its own metaclass). Gre

Re: Django Sites framework

2009-08-21 Thread David Christiansen
Have you checked your INSTALLED_APPS for the sites app as well? On Aug 20, 10:59 am, Vladimir Prudnikov wrote: > I'm *not* using Sites framework ('django.contrib.admin' is not   > included in INSTALLED_APPS and SITE_ID is not defined), but there is   > an exception when I click on "View on websi

Re: I need a pony: Model translations (aka "my proposal")

2009-08-25 Thread David Danier
eanField(default=False) >>> class Meta: >>> fields = ('foo',) This way the translation system stays very extendable and may be used for some version-tracking-scenario while not supporting this itself. btw.: This is another reason why I want to always use

Re: Replacing get_absolute_url, I am against it

2009-09-14 Thread David Larlet
lot. It solves most of the problems I have with > get_absolute_url: > > * I dislike the name -- far too verbose. Why not just `obj.url()`? Note this option will break a lot of models with an existing url field (that's just a warning, as a devil's advocate, I'm not

Let's Talk About ``to_field``

2009-09-23 Thread David Cramer
I haven't brought this up for quite a while, but ``to_field`` still does not function properly (at least as of 1.1, I haven't noticed any changes addressing it though). The issue is that anywhere you do a GET lookup, it doesn't process the to_field properly:: # TODO: waiting on to_field f

Re: Session/cookie based messages (#4604)

2009-09-23 Thread David Cramer
I'm a bit late in here, and it seems we reinvented a wheel as well (even tho we did this about a year ago), but recently just OS'd our simply notices system [1]. I'm also +1 for including something like this in trunk rather than using the current user messages. I had a brief look at django_notify

Re: Let's Talk About ``to_field``

2009-09-23 Thread David Cramer
al, the fact is it doesn't work as advertised, and it is advertised. You would have to talk to the author of newforms-admin, which I believe was Brian Rosner. There is some special code for handling to_field lookups in the admin. [1] http://www.pastethat.com/LUYWh David Cramer On

Re: Let's Talk About ``to_field``

2009-09-23 Thread David Cramer
I believe someone had linked a ticket before, but I was unable to find one, so I went ahead and submitted it here: http://code.djangoproject.com/ticket/11938 David Cramer On Wed, Sep 23, 2009 at 6:41 PM, David Cramer wrote: > As usual, my apologies for lacking context :) > > Th

Re: Model.objects.raw() (#11863)

2009-09-29 Thread David Reynolds
Russ, On 29 Sep 2009, at 03:25, Russell Keith-Magee wrote: > (1) know about the trick of instantiating an object with the > unrolled list version of a cursor, and Any chance you could expand upon this? -- David Reynolds da...@reynoldsfamily.

Re: Session/cookie based messages (#4604)

2009-10-10 Thread David Cramer
The proposal per your email is more or less how django-notices works. Sent from my iPhone On Oct 10, 2009, at 12:53 PM, Tobias McNulty wrote: > > On Sat, Oct 10, 2009 at 1:19 PM, Tobias McNulty > wrote: >> Things that still need to be discussed/done: >> >> * Coming to consensus on what 3rd pa

Re: Session/cookie based messages (#4604)

2009-10-12 Thread David Cramer
I also don't think this problem is being addressed here. Yes you could pass messages to the context, but you would lose the ability to retrieve those variably. I believe storing it in the existing session is the best appoach for django's builtin support. Sent from my iPhone On Oct 10, 2009, at 8

Re: Session/cookie based messages (#4604)

2009-10-12 Thread David Cramer
hould definitely be a factor in the decision. Sent from my iPhone On Oct 12, 2009, at 9:39 AM, Tobias McNulty wrote: > > On Mon, Oct 12, 2009 at 10:21 AM, David Cramer > wrote: >> I also don't think this problem is being addressed here. Yes you >> could >> pass m

Re: Session/cookie based messages (#4604)

2009-10-12 Thread David Cramer
better way to optimize it than regroup. However, with doing this it'd be very important that it doesn't clear the messages unless you're pulling it out. django-notices handles this by popping out elements in the iter (I believe), so that if you don't pop the message out, it'

Re: Session/cookie based messages (#4604)

2009-10-12 Thread David Cramer
r. It's no quicker doing it internally than it is using itertools.groupby or regroup in a template. David Cramer On Mon, Oct 12, 2009 at 1:32 PM, Tobias McNulty wrote: > > On Mon, Oct 12, 2009 at 2:02 PM, David Cramer wrote: > > I'm -1 on adding .errors or whateve

Re: Session/cookie based messages (#4604)

2009-10-13 Thread David Cramer
lete sense. David Cramer On Tue, Oct 13, 2009 at 2:53 AM, Hanne Moa wrote: > > On Tue, Oct 13, 2009 at 09:27, Russell Keith-Magee > wrote: > > I'm just > > noting that adding Django support for Python logging is also on the > > cards for v1.2, and it se

Re: Session/cookie based messages (#4604)

2009-10-16 Thread David Cramer
I agree, this is 30 minutes of work to change the usage in Django, and it should be done with the inclusion of the messages patch. David Cramer On Fri, Oct 16, 2009 at 1:08 PM, Tobias McNulty wrote: > > On Fri, Oct 16, 2009 at 5:10 AM, Luke Plant wrote: > > I think thi

Re: shortcut proposal

2009-10-16 Thread David Larlet
le code, mostly because the order matters. Anyway, it's interesting to see that a lot of people are thinking about the same approach... David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django develo

#9200 - working to resolve any issues

2009-11-13 Thread David Durham
I'm back at this one since it apparently is around +0 in the voting, though it still does not have a committer. I've updated the diff to work against trunk, and fixed some documentation errors. However, I'm not able to attach a file to the ticket. I receive this error: 403 Forbidden (TICKET_

Re: Session/cookie based messages (#4604)

2009-12-05 Thread David Cramer
I'm with Luke on this for the exact reasons he describes. Sent from my iPhone On Dec 5, 2009, at 7:24 PM, Russell Keith-Magee wrote: > On Sun, Dec 6, 2009 at 10:28 AM, Luke Plant > wrote: >> On Sunday 06 December 2009 00:56:56 Russell Keith-Magee wrote: >> Really? Files definitely seem t

Re: Ticket #5025 - truncate filter, why hasn't it been accepted?

2009-12-30 Thread David Zhou
On Wed, Dec 30, 2009 at 1:37 PM, Ian Kelly wrote: > All of which could be handled just as well or better using CSS, unless > there's something I'm missing, which is the reason I asked. Using CSS to truncate email addresses defeats the purpose of truncating email addresses. Not exactly "better",

Re: Ticket #5025 - truncate filter, why hasn't it been accepted?

2009-12-30 Thread David Zhou
On Wed, Dec 30, 2009 at 3:29 PM, Alex Gaynor wrote: > The video I linked earlier had a critical point that I think a lot of > people are missing, adding a single filter may not add a lot to the > developer's burden directly but it impacts the perceptions (and > realities) of what kinds of things

Re: Model validation incompatibility with existing Django idioms

2010-01-07 Thread David Cramer
For us we definitely use this behavior, and I'm guessing this is about to bite us in the ass. I would think a simple fix would be to have a commit=False, and validate=True keyword arg. By default, validate is NoInput, but if commit is False it defaults to False. Wouldn't that be a simple enough bac

Re: What The Enterprise wants from Django

2010-01-19 Thread David Cramer
The first three have been huges ones with us. We're just now running into the settings issue, but would love to see what people can come up with for solutions (we dont have a good one). Glad to see multi db is finally shipping, and excited to see what can be done for startup procs. On Jan 19, 3:26

Re: QuerySet.exists() - Possible bug?

2010-02-10 Thread David Cramer
MySQL, in this situation, would have to actually select a row to return a result, so it's slower. If it was just select 1 as a from table where indexed_value = N, it doesn't even hit the tables, just the indexes. It's definitely not more efficient, and probably just an oversight somewhere. On Feb

Re: examples directory

2010-02-16 Thread David Cramer
It's already been done orokusaki. The examples were (humbly) horrible as well. No template usage, just generic HttpResponse. That's basic Python, and docs > examples (in code). On Feb 15, 11:52 pm, orokusaki wrote: > -1 I think examples, broken or working, are very helpful for absolute > beginner

Re: admin javacripts

2010-02-20 Thread David Danier
of sounds nice, but perhaps some sort of django namespace could be introduced. Meaning $jQD -> dj.$: var dj = {}; dj.$ = dj.jQuery = jQuery.noConflict(true); Greetings, David Danier -- You received this message because you are subscribed to the Google Groups "Django developers&qu

Re: EmailBackends

2010-02-22 Thread David Reynolds
look at how django-mailer [0] does it. 0 - http://github.com/jtauber/django-mailer -- David Reynolds da...@reynoldsfamily.org.uk -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-devel

Re: proposal: ask a queryset to not raise exceptions

2010-03-07 Thread David Cramer
I definitely would like to see this handled in Django, but not in the way mentioned. I personally think there does not need to be an option for what it raises. I think of this in the situations where find methods return either a -1, or an Exception, based on which method you call. Now I can't come

Re: [Proposal] Adding optional SITE_DOMAIN and SITE_NAME variables in settings.py

2010-03-15 Thread David Larlet
n that your default fixtures will load whatever the environment. How do you handle this: fixtures by environment? Maybe we should reconsider the /sql/..sql pattern to add an environment info? Regards, David -- You received this message because you are subscribed to the Google Groups &q

Tiny, tiny patch - can it make it into Django 1.2?

2010-04-06 Thread David Reynolds
when customising the admin site. Thanks, David -- David Reynolds da...@reynoldsfamily.org.uk -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from t

Re: Tiny, tiny patch - can it make it into Django 1.2?

2010-04-06 Thread David Reynolds
oblem, just thought I'd ask. Sorry for the noise. Thanks, David -- David Reynolds da...@reynoldsfamily.org.uk -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@google

Re: Front-End Developer - Contract/Telecommute | 40-50/hour

2010-04-07 Thread David Cramer
On Apr 7, 4:47 pm, OSS wrote: > Front-End Developer - Contract/Telecommute | 40-50/hour > > My client is a B2B media company and they are looking to hire a Front- > End Web Developer for a few upcoming projects, ranging from an online > publication development project to social media application

Re: Pass Thru Image Proxy Patch Interest?

2010-04-16 Thread David Danier
g this into serve() always means a request to your local webserver which may lead to a HTTP-redirect (so we have two requests). Of course having a template tags means {{ MEDIA_URL }}path/to/file must be replaced everywhere in your templates. But I think it's worth the benefit. Greetings, David

Re: High Level Discussion about the Future of Django

2010-04-18 Thread David Cramer
I just want to throw my 2 cents into the ring here. I'm not against a fork, but at the same time I want to see the Django mainline progress. However, let me tell you my story, and how I've seen the Django development process over the years. I started with Django 4 years ago. It was cool, shiny, an

Re: Process discussion: reboot

2010-04-19 Thread David Zhou
On Mon, Apr 19, 2010 at 11:31 AM, Jacob Kaplan-Moss wrote: > On Mon, Apr 19, 2010 at 10:19 AM, orokusaki wrote: >> The release of Django 1.0 comes with a promise of API stability and >> forwards-compatibility. In a nutshell, this means that code you >> develop against Django 1.0 will continue to

Re: Process discussion: reboot

2010-04-19 Thread David Zhou
On Mon, Apr 19, 2010 at 12:14 PM, Jacob Kaplan-Moss wrote: > On Mon, Apr 19, 2010 at 10:38 AM, David Zhou wrote: >> The specific number of point releases to remain compatible with can >> probably be quibbled over, but I think the point is that maintaining >> across the ent

Re: Cross-field Model Validation and Ticket #13100 (Was: Re: High Level Discussion about the Future of Django)

2010-04-19 Thread David Cramer
Realizing my original statement I was regarding this thread, in this thread, it's obvious that this has gone completely off track. I might have to take back everything I thought about this being useful. If you want to address a SPECIFIC concern, it makes sense to do that under its own topic. Think

Re: Class based generic views in 1.3?

2010-05-13 Thread David Larlet
lass based generic views, be >> like Ben and make it happen -- show us the code!. > > Oooh, class-based views. > > This is something I've been thinking about a lot, and I'll probably dive into > it at the Djangocon.eu sprints. Feel free to make a start Jari. ;) I'd

Re: Class based generic views in 1.3?

2010-05-27 Thread David Larlet
Hello, We're working on this with Ben during djangocon.eu sprint [1]. Any comment appreciated, still a work in progress though. Regards, David [1] http://github.com/bfirsh/django-class-based-views -- You received this message because you are subscribed to the Google Groups &q

Re: Class based generic views in 1.3?

2010-05-28 Thread David Larlet
Le 28 mai 2010 à 00:01, Luke Plant a écrit : > On Thursday 27 May 2010 17:29:28 David Larlet wrote: >> Hello, >> >> We're working on this with Ben during djangocon.eu sprint [1]. Any >> comment appreciated, still a work in progress though. > > Looks cool.

Feature request: coalesce for aggregates

2010-06-15 Thread David Gouldin
I would love to see the aggregate classes (Sum, Avg, etc) take an optional second parameter that becomes the value in a coalesce statement in the resulting query. Basically, this would function a lot like dict.get. Right now the only option is to resolve to None. If, for instance, you could say

Re: Logging in Django

2010-06-19 Thread David North
ay. If the consensus is that there's some mileage in the above I might be willing to try and come up with some code, though my time is limited. Equally, I'm sure some of you may have been thinking along these lines already :-) Cheers, David -- You received this message because yo

Re: Proposal: Revised form rendering

2010-07-11 Thread David Larlet
dering fields, and get HTML5-compliant form fields; the > 'xhml1_p_forms' library will pass 'xhtml1', and get XHMTL1-compliant > form fields. Again, why not directly in settings in order to be project's specific? Is there anybody mixing doctypes on the same websit

Re: Could not import man.credit.views, python 2.6.5. "No module named dl" error

2010-07-12 Thread David Cramer
It's an import issue with your app unrelated to django core. Someone here will eventually tell you to direct that to django-users, so you might as well hop over there now. On Jul 12, 4:31 pm, pacman wrote: > Hi, > > I've upgraded our python from 2.4 to 2.6.5.  When connecting to django > server (

Re: firebird backend for django

2010-07-27 Thread David Elias
Hi, I've opened a ticket for months ago - http://code.djangoproject.com/ticket/13159. Only needs a test case. David Elias On Jul 23, 10:30 pm, maxi wrote: > Hi, > > I'm working on django-firebird project and doing some modifications > for work with django 1.2 >

Re: Patch and tests for #13182

2010-08-05 Thread David Novakovic
Noted... sorry about the spam in that case :) D On Aug 6, 10:52 am, Russell Keith-Magee wrote: > On Fri, Aug 6, 2010 at 8:31 AM, David P. Novakovic > > wrote: > >http://code.djangoproject.com/ticket/13182 > > Let me know if there is anything else I can do on this

Re: Model translation

2010-08-07 Thread David Danier
uld create better tools for doing such things inside Django instead of trying to provide a solution to solve everything. I hope I haven't missed something essential. Model translations really touches most of the parts of Django (urls.py, QuerySet, views and of course models). I intentionally

Re: Django 1.3 and Python 2.4

2010-08-11 Thread David Malcolm
On Wed, 2010-08-11 at 14:48 +0200, Dennis Kaarsemaker wrote: > On Wed, Aug 11, 2010 at 2:20 AM, Russell Keith-Magee > wrote: > > > Like it or not, RHEL is still a major player in the enterprise market > > at the moment. I can't speak for the US, but in Australia at least -- > > when all those com

Some thoughts about the new settings.configure() and decoupling

2006-05-22 Thread David Elias
I think one way to go is with factories. The packages don't know nothing where settings coming from. These settings are passed within a constructor or something and django would use factories that know to look from django.conf.settings and passed them to the new object. Although i don't get it ye

Re: Some thoughts about the new settings.configure() and decoupling

2006-05-23 Thread David Elias
Malcolm Tredinnick wrote: > Hi David, > > On Mon, 2006-05-22 at 15:06 -0700, David Elias wrote: > > I think one way to go is with factories. > > The packages don't know nothing where settings coming from. These > > settings are passed within a constructor or so

Issues on making the firebird backend working

2006-05-26 Thread David Elias
if are any django and firebird devs out there some sort of help would be nice :) David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to dja

Re: Issues on making the firebird backend working

2006-06-01 Thread David Elias
Well, AS in FROM clause is not support... Thoughts, ideas...? I think we're not going to have Firebird support in Django :p --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to thi

Re: Issues on making the firebird backend working

2006-06-01 Thread David Elias
Michael Radziej wrote: > David Elias wrote: > > Well, AS in FROM clause is not support... > > Not even in the equivalent form > > SELECT ... FROM table_name alias > > ? > > That would really suck. How do you do joins to "self" then? > > Michael

Re: Issues on making the firebird backend working

2006-06-01 Thread David Elias
Adrian Holovaty wrote: > On 6/1/06, David Elias <[EMAIL PROTECTED]> wrote: > > > > Well, AS in FROM clause is not support... > > > > Thoughts, ideas...? > > Hey David, > > Sorry for the slow response -- let's take each issue one at a

Re: Issues on making the firebird backend working

2006-06-01 Thread David Elias
I've got the backend's base, create and introspection almost done. Should i create a ticket or use this one http://code.djangoproject.com/ticket/1261 and attach the files? David --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Issues on making the firebird backend working

2006-06-06 Thread David Elias
in the future? ps: sorry for my english David --~--~-~--~~~---~--~~ 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 fr

Re: Multiple database support (#1142) roadblock

2006-06-09 Thread David Elias
but your aproach in puting all the sql statements in creation module is better, i think. At least will give much more flexibility for generating SQL for all backends. Nice work. David --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

urlify.js blocks out non-English chars - 2nd try?

2006-07-06 Thread David Larlet
s so it's not really difficult (I've pasted a js from a french blog app on my ticket) but I'm conscious there are more problems with other languages. Concerning utf-8 URLs, I don't know if it's really a good idea because this is actually as

Re: Suggestion for #1602, urlify.js blocks out non-English chars [was urlify.js blocks out...]

2006-07-12 Thread David Larlet
Another question is about customisation of removelist. What's your opinion about that? Cheers, David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send

Slides of Europython 2006?

2006-07-19 Thread David Larlet
Hi! I'd like to know if it's possible to have access to django slides of Simon's conf at Europython 2006. Maybe I haven't found those but there are not listed on the official page: http://indico.cern.ch/sessionDisplay.py?sessionId=9&confId=

Re: Slides of Europython 2006?

2006-07-19 Thread David Larlet
2006/7/19, Simon Willison <[EMAIL PROTECTED]>: > > > On 19 Jul 2006, at 15:43, David Larlet wrote: > > > I'd like to know if it's possible to have access to django slides of > > Simon's conf at Europython 2006. > > I've uploaded my

Re: Model inheritance API

2006-07-24 Thread David Blewett
hings, Animals, and Toys? > That's what I'd expect, and want. I also think keeping the abstract class as a way of aggregating all the subclasses is key. An iterator is exactly what I would like to see as well. Please post any examples / code as they come! David Blewett --~--~---

ImportError: No module named __future__

2006-08-09 Thread David Martin
Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 457, in import_mod

Trac and Akismet rejected spam

2006-08-15 Thread David Larlet
I'd like to update the french translations urls in http://code.djangoproject.com/wiki/TranslateDocumentation with this new content : http://vrac.biologeek.com/askimet_error.txt and I get an Askimet rejected spam error. So, how can I do to update this page? Regards,

Re: Dynamic Menus...

2006-08-25 Thread David Martinez
Hey! I saw you on a Google video! I feel like I'm talking to a celeb! :-) --Dave Jacob Kaplan-Moss wrote: On Aug 24, 2006, at 2:14 PM, mediumgrade wrote: Don't know if this is a Django question or not, but here is the situation: I am developing an application for a client who

Re: Integrating Django and SQLAlchemy

2006-08-30 Thread David Elias
Robin Munn wrote: > The notes on implementation that Adrian posted pretty much match what > I'm thinking at this point. The plan is to make this 100% API > compatible (if possible -- you never know what will turn up once you > start implementing some idea), so that existing code doesn't need to >

Re: Google Sitemaps

2006-08-30 Thread David Blewett
d cause the save to take too long, or the request could raise an exception causing the object not to getsaved...  I'm not sure about what would be better, but it does rub methe wrong way.What about using signals? The ping_google() call could be activated by hooking in to the post_save() signa

spamblocked ticket: Use IPython profile if in current directory

2006-10-26 Thread David S .
"Akismet rejected spam", so, though very minor, here's my ticket. === Use IPython profile if in current directory === [http://ipython.scipy.org/ IPython] is great. It's profiles are very nice and it would be neat to use one if available. This patch offers a way to do that. It assumes that a

Re: Spamblocked ticket: #2282 (Urlify in admin compatible with accents)

2006-10-27 Thread David Larlet
e default (English) > one if there isn't any. > Yes, I think it could be a good solution, I can do the urlify.fr.js file. Cheers, David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&q

Branch Merges?

2006-11-06 Thread David Blewett
milar to magic-removal, at merging all these branches? David Blewett --~--~-~--~~~---~--~~ 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@goog

Re: Branch Merges?

2006-11-06 Thread David Blewett
ike to help out with the FullHistory branch. It looks like it hasn't had trunk merged to it in a while. David Blewett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this

Re: psyucopg2 status

2006-11-07 Thread David Blewett
es out it may > look out of date. > Just wanted to jump on the band wagon. I've been using psycopg2 for ~6 months now and haven't had an issue with it. I think this is a really valid point. We all know things are out of date as soon as they're printed, but this would

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
;nada', language=Language('Spanish')) You can get the text for a specific translation like this: a.translations.filter(field='bar', language=Language('Spanish')) David Blewett --~--~-~--~~~---~--~~ You received this message be

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
On Nov 9, 8:14 am, "David Blewett" <[EMAIL PROTECTED]> wrote: > What about using generic relations for this? You could have something > like this: > > class I18NText(models.Model): > language = models.ForeignKey(Language) > field = models.CharField(m

New firebird backend using the boulder-oracle-sprint branch

2006-12-18 Thread David Elias
Please check http://code.djangoproject.com/ticket/1261 David Elias --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-

Re: New firebird backend using the boulder-oracle-sprint branch

2006-12-18 Thread David Elias
i ll test it right away. > > > > I was trying to hack your old one, but i didnt figure out why some > > generators weren´t created, so i was having some problems. > > > > -- Forwarded message -- > > From: David Elias <[EMAIL PROTECT

Re: New firebird backend using the boulder-oracle-sprint branch

2006-12-20 Thread David Elias
I was able to reproduce this error by enable the admin in the INSTALLED_APPS and in urls.py but not sync'ed to database, make sure you call manage.py syncdb to install also the admin app. Fabio Gomes escreveu: Thanx, it worked now. I was able to create the table, acess the objects, add, update

Re: New firebird backend using the boulder-oracle-sprint branch

2006-12-20 Thread David Elias
Is there anything i can help with? I m don´t have much python knowledge Same with me :) but i m really interested in firebird support in django, so if i can help testing or doing something it will be a pleasure. Well you can use this patch on your projects and report bugs and enhancements.

Schema Evolution branch?

2006-12-27 Thread David Anderson
Hey all, I've been hacking on my application for a bit now, and I'm at the point where I'd want to be able to evolve my schema, rather than blow away the data or futz around with SQL to upgrade stuff. So I took a look at the schema-evolution branch, and it looks mostly abandoned. Is this the ca

Re: select_related() changes

2007-01-10 Thread David Cramer
http://dpaste.com/hold/4541/ :) On Jan 10, 8:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Updated paste:http://dpaste.com/hold/4539/ > > Should be no problems now :) > > On Jan 10, 8:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > Code Source:http://dpaste.com/hold/4538/ >

Re: select_related() changes

2007-01-10 Thread David Cramer
What's the svn command for generating the diff? On Jan 10, 11:07 am, Michael Radziej <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > Updated paste:http://dpaste.com/hold/4539/Thanks for your code, and I would > > have good use for some > improvements on select_related. But it's har

Re: select_related() changes

2007-01-10 Thread David Cramer
Any links to an example ticket so I can keep a normal format for what im going to post? :) On Jan 10, 11:40 am, "Honza Král" <[EMAIL PROTECTED]> wrote: > On 1/10/07, David Cramer <[EMAIL PROTECTED]> wrote: > > > > > What's the svn command for generat

Re: select_related() changes

2007-01-10 Thread David Cramer
http://code.djangoproject.com/ticket/3275 Thanks :) On Jan 10, 2:50 pm, Nikolaus Schlemm <[EMAIL PROTECTED]> wrote: > > Any links to an example ticket so I can keep a normal format for what > > im going to post? :)take a look at the tickets with patches: > >http://code.djangoproject.com/

Re: select_related() changes

2007-01-10 Thread David Cramer
Not quite sure what to write in terms of the documentation :) On Jan 10, 4:07 pm, "Waylan Limberg" <[EMAIL PROTECTED]> wrote: > On 1/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I'd like this to become core functionality as I feel its needed.For that > > to happen, you will lik

Re: select_related() changes

2007-01-10 Thread David Cramer
I can do the docs, but it'd be a great time saver if you could do the tests. I'm up to my elbows in work at the moment so :) On Jan 10, 4:37 pm, Michael Radziej <[EMAIL PROTECTED]> wrote: > Hi David, > > if you want me to write the docs or the tests, let me know. I >

Re: select_related() changes

2007-01-10 Thread David Cramer
ng to look into it some more tomorrow, if anyone has any ideas let me know. On Jan 10, 5:45 pm, Michael Radziej <[EMAIL PROTECTED]> wrote: > David Cramer schrieb: > > > I can do the docs, but it'd be a great time saver if you could do the > > tests. I'm up to my e

Re: select_related() changes

2007-01-11 Thread David Cramer
I retract my statement, we had some other random server configuration error that just happened to appear at the same time as us putting this live :) On Jan 10, 8:34 pm, "David Cramer" <[EMAIL PROTECTED]> wrote: > It seems there are some issues with the code. Although I&#x

  1   2   3   4   5   6   7   8   9   >