Re: Possible bug in Meta ordering in 0.96

2007-10-02 Thread Michael Radziej
On Mon, Oct 01, Xan wrote: > > > > On Sep 30, 11:22 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > > On 9/30/07, Xan <[EMAIL PROTECTED]> wrote: > > > > > Although ordering is ('tipus', 'nom'), django admin interface displays > > > the Centre objects by 'tipus' but randomly (?) with 'nom'. I

Re: Would a web search be a good addition to the contribs framework?

2007-10-02 Thread Thejaswi Puthraya
On Oct 2, 12:30 am, "shabda.raaj" <[EMAIL PROTECTED]> wrote: > It looks to me that a api to get web search functionality in Django > would be good idea. Yes, a full-text search functionality is really cool and there has been considerable effort that has been put into this. Check out http://code.g

Re: Django External Schema Evolution Branch (deseb)

2007-10-02 Thread Nis Jørgensen
Derek Anderson skrev: > Django External Schema Evolution Branch > === > http://code.google.com/p/deseb/ > > I've released v0.2, which supports both MySQL and Postgresql, and works > with both django-head and django-v0.96. > > This release contains the introspec

FileField and semi-colon

2007-10-02 Thread Chaiwat Suttipongsakul
Dear All, Django can't handle file file ';' in filename correctly. In django/http/__init__.py function parse_file_upload (trunk) def parse_file_upload(header_dict, post_data): > "Returns a tuple of (POST QueryDict, FILES MultiValueDict)" > import email, email.Message > from cgi import

Another urlpatterns proposal (add method column)

2007-10-02 Thread tonnzor
IMHO, we should move typical logic of switching actual view according to request HTTP method from views to urls.py. Dispatching URLs using info from request is a job for urls.py, not for views itself. I think following code is inefficient and does the same as urls.py does with URL of requests: #

Re: Another urlpatterns proposal (add method column)

2007-10-02 Thread Marty Alchin
I can't say I'm a big fan of this proposal, personally. While I can understand where you're coming from, it smells a bit too much like J2EE's doGet/doPost stuff for my taste. On a more objective note, though, would that mean that every urlpattern would require an HTTP method, or could it be ignor

Re: Another urlpatterns proposal (add method column)

2007-10-02 Thread Marty Alchin
On 10/2/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > That said, I think there are probably others out there like you who > would want this, and there's actually nothing stopping you from > releasing it as a separate app, or even a snippet. Well, looks like I misspoke. It seems the URL resolver i

Displaying current file in admin for a filefield

2007-10-02 Thread andybak
Hi there, I'm looking to figure out how to subclass the widget for the FileField in newforms-admin so that it displays the current filename next to the upload field. Does anyone know there are any examples/resources to help me get started? I assume I need to subclass forms.widgets.Widget and ove

Re: Displaying current file in admin for a filefield

2007-10-02 Thread andybak
Apologies. Meant to post that to Django-Users (although I've probably got a better chance of a useful answer here I am aware that it's not really the right question for this group). However now it's here - any tips gratefully received! On Oct 2, 2:22 pm, andybak <[EMAIL PROTECTED]> wrote: > Hi t

Re: Possible bug in Meta ordering in 0.96

2007-10-02 Thread Xan
Yes. I understand it. I know that this behaviour is documented, but is it a bug so?. The strange behaviour of admin, even altough it's documented, is strange. Why you don't consider it a bug? Is there a ticket of that? Do you plan to change this (strange) behaviour in next version (svn)? If not, w

Re: Possible bug in Meta ordering in 0.96

2007-10-02 Thread James Bennett
On 10/2/07, Xan <[EMAIL PROTECTED]> wrote: > I know that this behaviour is documented, but is it a bug so?. The > strange behaviour of admin, even altough it's documented, is strange. > Why you don't consider it a bug? Is there a ticket of that? Do you > plan to change this (strange) behaviour in

Regression tests for localflavor

2007-10-02 Thread Marc Garcia
Hi! I know that it's probably a newbie question, but I'm not sure how I've to make regression tests to a new localflavor that I've developed. I've seen that there is a test file for every localflavor in .../trunk/ tests/regressiontests/forms/localflavor/ but I'm not sure if that file is generate

Re: Regression tests for localflavor

2007-10-02 Thread Malcolm Tredinnick
On Tue, 2007-10-02 at 11:08 -0700, Marc Garcia wrote: > Hi! > > I know that it's probably a newbie question, but I'm not sure how I've > to make regression tests to a new localflavor that I've developed. > > I've seen that there is a test file for every localflavor in .../trunk/ > tests/regressi

Re: Possible bug in Meta ordering in 0.96

2007-10-02 Thread Karen Tracey
As James says, it's not a bug. But I'd agree it seems a little odd, until you look a little more closely at the admin interface. It allows the user to sort on fields by clicking on column headers. It gets a little messy to try to combine that feature with multi-field ordering specified in the mo

Re: Django External Schema Evolution Branch (deseb)

2007-10-02 Thread Derek Anderson
hey nis, 1) psycopg2 has been added as a backend 2-4) the other three bugs i've verified and fixed in svn. (plus i've started a new "everything" test case to check all the field types from now on) > I think the introspection code for postgres can be tightened a lot - > especially if we lim

Re: Regression tests for localflavor

2007-10-02 Thread Leo Soto M.
On 10/2/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-10-02 at 11:08 -0700, Marc Garcia wrote: > > > > Also, I've seen that there is another test file where all those > > localflavor files are imported, I figure out that I've to add mine, > > but Do I have to execute it later?

Re: Regression tests for localflavor

2007-10-02 Thread Malcolm Tredinnick
On Tue, 2007-10-02 at 15:06 -0400, Leo Soto M. wrote: > On 10/2/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2007-10-02 at 11:08 -0700, Marc Garcia wrote: > > > > > > Also, I've seen that there is another test file where all those > > > localflavor files are imported, I figure

MANAGEMENT SOLUTIONS

2007-10-02 Thread shamsee26
*Management is the key to success.* *http://www.100stuff.com/sdk/management/* *-* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: Would a web search be a good addition to the contribs framework?

2007-10-02 Thread Ian Holsman
Matt Davies wrote: > yes please shabda > > we're currenlty moving away from webglimpse and into solr for our > search engine technology, but something inside django itself would be > really useful. > > While I live and breathe solr (we use it VERY heavily @ $WORK), I'm not sure what you would