I posted this in the users group but didn't get any response, so I'm
bringing it here.
Is there any particular reason why it's assumed you won't be performing a
Max on a CharField?
I tried to create the following QuerySet I get an error out of
convert_values() of BaseDatabaseOperations in
d
gotcha, thanks
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-developers/-/z1jxGo07QQIJ.
To post to this group, send email to django-developers@googlegroups.c
I've wondered this for a while, but is there a reason why the call to
admin.site.register(([Model], [ModelAdmin]) is not done within the init of
ModelAdmin?
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the we
On Thu, Aug 26, 2010 at 11:37 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> On Fri, Aug 27, 2010 at 2:28 AM, Joshua Russo
> wrote:
> > I've developed and I'm currently using a mod to allow auto-increment id
> > fields to be editable. I'm
On Thu, Aug 26, 2010 at 9:11 PM, Karen Tracey wrote:
> On Thu, Aug 26, 2010 at 6:05 PM, Joshua Russo wrote:
>
>> I'm trying to test a patch I'd like to submit but the fixture in the
>> aggregation tests is failing on an integrity error. It looks like a problem
&
I'm trying to test a patch I'd like to submit but the fixture in the
aggregation tests is failing on an integrity error. It looks like a problem
with the order of the data, where a child table is being loaded before a
parent. I fixed the order and then received the same type of error from the
paren
I've developed and I'm currently using a mod to allow auto-increment id
fields to be editable. I'm curious if I should produce a ticket to allow
this, or will it cause a problem on some DBMS I'm not aware of.
It's pretty simple really.
1) I check for the editable keyword in the constructor of the
On Wed, May 19, 2010 at 6:50 AM, Waldemar Kornewald wrote:
> Hi Russell,
>
> On May 18, 1:59 pm, Russell Keith-Magee
> wrote:
> > On Tue, May 18, 2010 at 5:08 PM, Alberto Paro
> wrote:
> > > I'm developing a big application that does some complex mixing of
> database:
> > > SQL and notSQL one.
>
On Mon, Feb 1, 2010 at 1:00 PM, Luke Plant wrote:
> > When Django makes a move with regards to HTML4/XHTML/HTML5...
>
> Here are my current thoughts on that issue - in a slightly overstated
> tone... :-)
>
> == XHTML as text/html is just fine ==
>
> I happen to agree with Simon Willison's post a
On Mon, Oct 26, 2009 at 12:30 AM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:
>
> A wiki page doesn't really solve the problem either. If you make it an
> exclusive list, someone has to decide who is on the list and who
> isn't. If you make it a comprehensive list, a wiki page will very
>
On Sun, Oct 25, 2009 at 11:48 PM, Dan wrote:
> I think this is best done through a third party site. Look at the success
>> of DjangoGigs. I don't know that there's a de facto place to look for apps
>> yet, but I bet a winner will emerge in time.
>>
>> Tobias
>>
>>
> The problem I see with that
On Fri, Oct 23, 2009 at 11:21 PM, Jacob Kaplan-Moss wrote:
>
> > So any tickets that have the full gambit of patch/docs/tests should make
> it
> > into 1.2?
>
> In theory. Keep in mind, though, that us committers have limited
> mental bandwidth so we can't absolutely promise to get to every single
On Fri, Oct 23, 2009 at 5:29 PM, Jacob Kaplan-Moss wrote:
>
> 2009/10/23 kmike :
> > Some features from wiki proposal page don't get their way to google
> > spreadsheet (ex: 2 cache-related proposals) and they are not mentioned
> > in the final features page neither in a list of accepted features
On Tue, Oct 13, 2009 at 12:38 PM, Jacob Kaplan-Moss wrote:
>
> Hey folks --
>
> Like last time 'round, if you'd like to express an opinion about
> features for Django 1.2, go and vote:
>
>
> http://spreadsheets.google.com/ccc?key=0AtIlKMKDxMBpdGVPVXlTODVLeTBpNkdLd3hqZzdYR3c&hl=en
>
> I've reorgani
On Sun, Oct 11, 2009 at 11:15 PM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:
>
> On Mon, Oct 12, 2009 at 7:15 AM, Zachary Voase
> wrote:
> >
> > On 11 Oct 2009, at 23:39, Joshua Russo wrote:
> >
> >> How about the possibility of an advanced
On Sun, Oct 11, 2009 at 7:40 PM, Rajeev J Sebastian <
rajeev.sebast...@gmail.com> wrote:
>
> On Sun, Oct 11, 2009 at 10:07 PM, Zachary Voase
> wrote:
> >
> > On 11 Oct 2009, at 16:09, Alex Gaynor wrote:
> >
> >> I don't want to be overly negative, but in my view rewriting the
> >> tutorial would
tests for a UI change... any suggestions on how to go about doing that?
>
> On Thu, Sep 17, 2009 at 2:04 PM, Joshua Russo wrote:
>
>> I don't have any say in what gets accepted or not but I do believe that
>> your solution is a decent one. I'm continuing with mine bec
On Sat, Sep 19, 2009 at 8:08 AM, Suno Ano wrote:
>
> Hi folks,
>
> I was wondering, are there any plans to support couchdb [0] as
> backend/database at some point? Some links I found in this regard are
>
>
> - http://couchdbkit.org/docs/django-extension.html
> - http://www.eflorenzano.com/blog/
On Fri, Sep 18, 2009 at 9:48 PM, Alex Gaynor wrote:
>
> On Fri, Sep 18, 2009 at 6:44 PM, Joshua Russo
> wrote:
> > I just tried to update a patch on a ticket that I had created but the
> file I
> > uploaded isn't displaying. It shows in the list and with the correct
I just tried to update a patch on a ticket that I had created but the file I
uploaded isn't displaying. It shows in the list and with the correct file
size but when I try to view the file it's empty. I've upload quite a few
patches previously so I'm pretty sure it's not my process.
http://code.djan
ten a patch for
> multi-sort columns in the changelist ui here:
>
> http://code.djangoproject.com/ticket/11868
>
> Not sure if this is what you guys had in mind, but I'd be interested in
> your feedback.
>
>
> On Thu, Sep 17, 2009 at 12:57 PM, Joshua Russo wrote:
>
Sorry for dragging this back out of the depths but I was reviewing my
code for regression testing and I noticed I had missed this comment
way back when.
Where is this named sort option documented?
It seems to me that the implementation that I have here would still be
useful even if you could ass
On Sat, Sep 5, 2009 at 4:14 PM, Yuri Baburov wrote:
>
> Hi devs,
>
> I published http://code.djangoproject.com/ticket/11834
> Screenshot:
> http://code.djangoproject.com/attachment/ticket/11834/11834.png
>
> I consider it pretty useful and it has saved me few hours of debugging
> already by its v
On Fri, Sep 4, 2009 at 11:34 AM, Russell Keith-Magee wrote:
>
> On Thu, Sep 3, 2009 at 12:07 PM, bendavis78 wrote:
> >
> > This issue has been up with a patch for quite awhile, and wanted to
> > get some feedback from some devs on this. The fix is pretty simple,
> > and seems to work ok for me
On Fri, Sep 4, 2009 at 8:00 AM, patrickk wrote:
>
> hi everyone,
>
> I just wanted to outline a basic idea in order to improve (at least
> from my point of view) the index-page of the admin-interface. I don´t
> have any code to share (so far), so I´m basically explaining my idea -
> if people agr
On Thu, Sep 3, 2009 at 10:03 PM, My Idea wrote:
> Hello there!
>
> I'm looking for any open source project that uses django 1.x as platform
> for study proposal. I've already in touch with djangobook.com and other
> stuffs but I'm still missing something more close to real world.
>
> Is there an
On Fri, Aug 28, 2009 at 4:37 PM, Joshua Russo wrote:
> On Fri, Aug 28, 2009 at 4:11 PM, Joshua Russo wrote:
>
>> On Thu, Aug 27, 2009 at 10:39 PM, Forest Bond > > wrote:
>>
>>> Hi,
>>>
>>> On Thu, Aug 27, 2009 at 07:42:24PM -0100, Joshua Russo w
On Thu, Aug 27, 2009 at 10:39 PM, Forest Bond wrote:
> Hi,
>
> On Thu, Aug 27, 2009 at 07:42:24PM -0100, Joshua Russo wrote:
> > On Thu, Aug 27, 2009 at 6:22 PM, Forest Bond >
> > wrote:
> >
> > Hi,
> >
> > On Thu, Aug 27, 2009 at 03:28:
On Fri, Aug 28, 2009 at 4:11 PM, Joshua Russo wrote:
> On Thu, Aug 27, 2009 at 10:39 PM, Forest Bond
> wrote:
>
>> Hi,
>>
>> On Thu, Aug 27, 2009 at 07:42:24PM -0100, Joshua Russo wrote:
>> > On Thu, Aug 27, 2009 at 6:22 PM, Forest Bond <
&g
On Thu, Aug 27, 2009 at 6:22 PM, Forest Bond wrote:
> Hi,
>
> On Thu, Aug 27, 2009 at 03:28:03PM -0100, Joshua Russo wrote:
> > On Thu, Aug 27, 2009 at 11:54 AM, Joshua Russo
> wrote:
> > Ok, so I found that the way I was 'casting' the response object didn
On Thu, Aug 27, 2009 at 11:54 AM, Joshua Russo wrote:
> On Wed, Aug 26, 2009 at 1:34 PM, Joshua Russo wrote:
>
>> On Wed, Aug 26, 2009 at 12:52 PM, Russell Keith-Magee <
>> freakboy3...@gmail.com> wrote:
>>
>>>
>>> On Wed, Aug 26, 2009 at 4:41 PM,
On Wed, Aug 26, 2009 at 1:34 PM, Joshua Russo wrote:
> On Wed, Aug 26, 2009 at 12:52 PM, Russell Keith-Magee <
> freakboy3...@gmail.com> wrote:
>
>>
>> On Wed, Aug 26, 2009 at 4:41 PM, Joshua Russo
>> wrote:
>> > I figured someone had done this at some
On Wed, Aug 26, 2009 at 12:52 PM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:
>
> On Wed, Aug 26, 2009 at 4:41 PM, Joshua Russo
> wrote:
> > I figured someone had done this at some time.
> > What's the general consensus on when some thing like this should
he HTML of a view and gives you a dictionary that you
> can give to django.test.Client.
>
> Needs ClientForm from: http://wwwsearch.sourceforge.net/ClientForm/
> }}}
>
>
> Joshua Russo schrieb:
> > I've just put together an enhancement of the test Client used in uni
On Aug 25, 6:09 pm, Joshua Russo wrote:
> I've just put together an enhancement of the test Client used in unit
> testing. I added the parsing of the content to extract the form fields with
> their initial values as a dictionary, so you can just change a few values
> and thr
I've just put together an enhancement of the test Client used in unit
testing. I added the parsing of the content to extract the form fields with
their initial values as a dictionary, so you can just change a few values
and throw it back at the server.
http://dpaste.com/hold/85281/
I had to do a s
On Mon, Aug 17, 2009 at 1:44 PM, Jacob Kaplan-Moss wrote:
>
> On Mon, Aug 17, 2009 at 9:10 AM, Joshua Russo
> wrote:
> > I will try hooking into both post_save and post_delete signals though I
> was
> > looking for a more unified approach, to avoid repetition.
>
>
adding the model_modified
hook I was at least able to deal with all CRUD cases at once per model.
On Mon, Aug 17, 2009 at 1:10 PM, Joshua Russo wrote:
> The problem with simply extending the save method is that it doesn't cover
> deletes.
> I will try hooking into both post_sa
re or post save actions.
>
> So I guess from your use case, this hook won't be necessary.
>
> Cheers
> Marc
>
>
> Joshua Russo schrieb:
> > I've implemented a simple hook called model_modified() that can be
> > extended in the user's ModelAdmin class
On Sat, Aug 15, 2009 at 8:45 PM, mrts wrote:
>
> At HTML level, a form is a set of fields that gets submitted when
> a the form submit button is pressed.
>
> However, this is not the case with model forms and inline formsets
> (e.g. an admin page with inlines) -- inline formsets are
> disparate f
I've implemented a simple hook called model_modified() that can be extended
in the user's ModelAdmin class. It's called after a New, Update, or Delete
action is taken. I've used it in my application to clear related session
information that I use to cache heavy query results.
Does this sound like a
Why is it that Super is only used sometimes in the __init__ methods of the
existing widgets? Is this by design? I thought that if you used Super
anywhere you had to use it everywhere, otherwise the one place you do use it
wouldn't behave the way you anticipate. That is, if anyone ever uses
multiple
On Tue, Aug 11, 2009 at 7:46 PM, Rock wrote:
>
> Yes. I have a project that could use this immediately. Looking forward
> to seeing the ticket and a patch I can try out.
Ok, let me know what you think.
http://code.djangoproject.com/ticket/11695
--~--~-~--~~~---~--~-
I just wanted to toss this out there before creating the ticket. I've
tweaked the change list sort handling so that by default it uses the
full list of sort columns defined in the model. It sets all of the
headers as unselected and then behaves as it currently does if someone
selects a header colu
It might be helpful to link to or some how reference the reset
subcommand in the sqlrest subcommands.
sqlrest doesn't reference sqlall or reset currently. Both would be
helpful seeing as sqlall is the main concept it follows (besides the
deletions) and reset is how to actually execute what you se
What do you use to debug the unit tests? I've been using Netbeans 6.5
with the Python plugin but it's a bit buggy still and the unit tests
seem to have real issues with the debugger at the moment.
--~--~-~--~~~---~--~~
You received this message because you are subsc
I have been tinkering with some custom objects for db fields, form
fields, and widgets and have seen one or two things that might be nice
enhancements to the base objects. How exactly does the process of
contributing work?
I was actually coming here to gauge peoples opinion to my suggestions
but
47 matches
Mail list logo