Re: Help review tickets, get a prize!

2011-04-20 Thread Jeremy Dunck
On Wed, Apr 20, 2011 at 5:14 PM, TiNo wrote: > First of all, this sounds like a nice idea. > > On Wed, Apr 20, 2011 at 23:25, Jacob Kaplan-Moss wrote: >> >> It takes me about 5 minutes to review most unreviewed tickets > > It takes me, being a newbie at reviewing tickets, quite some more time. >

Re: Help review tickets, get a prize!

2011-04-20 Thread TiNo
First of all, this sounds like a nice idea. On Wed, Apr 20, 2011 at 23:25, Jacob Kaplan-Moss wrote: > It takes me about 5 minutes to review most unreviewed tickets It takes me, being a newbie at reviewing tickets, quite some more time. Would you (or any other core dev / speed reviewer) mind sh

Re: Help review tickets, get a prize!

2011-04-20 Thread Carl Meyer
On 04/20/2011 04:27 PM, Alex Gaynor wrote: > Consider me in on the 5-1 offer. Same here. Carl -- 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 t

Re: Help review tickets, get a prize!

2011-04-20 Thread Jacob Kaplan-Moss
Dang it, I forgot the most important part: how to *find* tickets to review! You can find a link to unreviewed tickets at http://code.djangoproject.com/wiki/Reports (along with a bunch of other cool canned queries). Jacob -- You received this message because you are subscribed to the Google Grou

Re: Help review tickets, get a prize!

2011-04-20 Thread Alex Gaynor
himself to > review the massive backlog, but that's damned painful. > > Right now we only have 60 unreviewed tickets in the queue, so now's a > great time to get on top of this problem for once and for all. > Everyone on this list is qualified to help. Please read on to se

Help review tickets, get a prize!

2011-04-20 Thread Jacob Kaplan-Moss
ow we only have 60 unreviewed tickets in the queue, so now's a great time to get on top of this problem for once and for all. Everyone on this list is qualified to help. Please read on to see how, and the "prize" bit is at the bottom. For the most part, reviewing these types t

Re: Help wanted on a few Django community projects

2011-03-25 Thread Jacob Kaplan-Moss
Wow, I got a lot more responses to this than I'd thought, so I'd say I'm well on my way here. Thanks so much everyone -- y'all rock. Jacob -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develope

Help wanted on a few Django community projects

2011-03-24 Thread Jacob Kaplan-Moss
Hi folks -- Lately I've been trying to think about a few ways that software might help our user and dev community as both continue to grow. I have a few things I want to try out as "spikes" (http://c2.com/cgi/wiki?SpikeSolution) to see if they're really viable. I'm bein

Help Cure Boredom!

2011-01-16 Thread Jon Blackwell
We’re looking for an engineer to join our tech team (5 developers plus designer) and help turn our alpha into an awesome beta. Compensation will include a meaningful equity stake with salary to follow. About us: Located in San Francisco, Let’s Do This is an app that’s like a real time meetup.com

Re: Need help w/ sql.where.WhereNode tree

2010-12-13 Thread Jonas H.
On 12/03/2010 03:06 PM, Jonas H. wrote: On 12/03/2010 10:04 AM, Waldemar Kornewald wrote: You probably don't want to use those aliases. Instead, you should use a separate alias namespace for embedded object filters. Otherwise you'll have to deal with the complex JOIN code in the backend unnecess

Re: Need help w/ sql.where.WhereNode tree

2010-12-03 Thread Jonas H.
On 12/03/2010 10:04 AM, Waldemar Kornewald wrote: You probably don't want to use those aliases. Instead, you should use a separate alias namespace for embedded object filters. Otherwise you'll have to deal with the complex JOIN code in the backend unnecessary. Aliases for embedded objects could j

Re: Need help w/ sql.where.WhereNode tree

2010-12-03 Thread Waldemar Kornewald
On Thu, Dec 2, 2010 at 5:03 PM, Jonas H. wrote: > On 12/01/2010 08:04 AM, Waldemar Kornewald wrote: >> >> In the end JOINs will be a rather complicated solution. I thought >> that's why you wanted to extend the ORM directly to handle embedded >> fields in a special way. That should be easier and c

Re: Need help w/ sql.where.WhereNode tree

2010-12-02 Thread Jonas H.
On 12/01/2010 08:04 AM, Waldemar Kornewald wrote: In the end JOINs will be a rather complicated solution. I thought that's why you wanted to extend the ORM directly to handle embedded fields in a special way. That should be easier and cleaner. That's what I'm up to, but I have to know how to re

Re: Need help w/ sql.where.WhereNode tree

2010-11-30 Thread Waldemar Kornewald
On Nov 30, 9:34 pm, "Jonas H." wrote: > Hello List! > > I'm working on queries on embedded objects for Django-nonrel (more > precisely, djangotoolbox) that will use JOIN-like syntax. > > For this, I need to know how to distinguish >    .filter(spam__op=eggs, foo__op=bar) > from >    .filter(spam__

Re: Need help w/ sql.where.WhereNode tree

2010-11-30 Thread Russell Keith-Magee
On Wed, Dec 1, 2010 at 4:34 AM, Jonas H. wrote: > Hello List! > > I'm working on queries on embedded objects for Django-nonrel (more > precisely, djangotoolbox) that will use JOIN-like syntax. > > For this, I need to know how to distinguish >  .filter(spam__op=eggs, foo__op=bar) > from >  .filter(

Need help w/ sql.where.WhereNode tree

2010-11-30 Thread Jonas H.
Hello List! I'm working on queries on embedded objects for Django-nonrel (more precisely, djangotoolbox) that will use JOIN-like syntax. For this, I need to know how to distinguish .filter(spam__op=eggs, foo__op=bar) from .filter(spam__op=eggs).filter(foo__op=bar) in the .where tree used

Re: help

2010-08-03 Thread André A . Santos
oh sorry now I got it thanks a lot bye On Tue, Aug 3, 2010 at 12:00 PM, Jacob Kaplan-Moss wrote: > On Tue, Aug 3, 2010 at 9:55 AM, André A. Santos > wrote: > > about Django how does it work in terms of architecture? > > Again, this isn't the right forum for these questions: we use this > list to

Re: help

2010-08-03 Thread Jacob Kaplan-Moss
On Tue, Aug 3, 2010 at 9:55 AM, André A. Santos wrote: > about Django how does it work in terms of architecture? Again, this isn't the right forum for these questions: we use this list to coordinate the development of Django itself, not answer questions. Please direct these kinds of questions to

Re: help

2010-08-03 Thread André A . Santos
ok... about Django how does it work in terms of architecture? On Tue, Aug 3, 2010 at 11:49 AM, Tobias McNulty wrote: > André, > > Welcome. Please direct your questions to the python and/or django-users > mailing lists. This list is for discussion related to the development of > Django itself.

Re: help

2010-08-03 Thread wayne
Firstly, while I myself am new to the list, I believe these questions are better suited for the django-users mailing list, as django- developers is for development of Django, not with Django. That being said... > 1- py is Python class extension? Python source files have the py extension. Python

Re: help

2010-08-03 Thread Jacob Kaplan-Moss
Hi Andre -- I'm sorry, but we can't help you here. This list is for discussion of developing Django itself, not user questions. Since you're very new to Python, I'd suggest trying comp.lang.python (http://groups.google.com/group/comp.lang.python) or the #python IRC channe

Re: help

2010-08-03 Thread Tobias McNulty
André, Welcome. Please direct your questions to the python and/or django-users mailing lists. This list is for discussion related to the development of Django itself. Regards, Tobias On Tue, Aug 3, 2010 at 10:36 AM, André Asantos wrote: > I am totaly new to Python world... > > I would like to

help

2010-08-03 Thread André Asantos
I am totaly new to Python world... I would like to konw: 1- py is Python class extension? 2-does django have any similar .jsp GUI? or is only use HTML for GUI? 3-is netbeans IDE the best IDE? André AS -- You received this message because you are subscribed to the Google Groups "Django develo

Re: help that Ip address can't be assigned-to

2010-04-17 Thread Karen Tracey
Please direct questions about using Django to the django-users mailing list. The topic of this list is the development of Django itself. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-deve

help that Ip address can't be assigned-to

2010-04-17 Thread arpho
ly with: python manage.py runserver 0.0.0.0:8000; but from firefox, when I try to connect to http://localhost:8000/admin or http://my_IP:8000/admin does not work, all I get is "Unable to connect". I wish somebody can help, thanks in advance. -- You received this message because you are subscr

Re: Ask for help about extending development on Django apps

2010-04-14 Thread Karen Tracey
This question should be posted to django-users, not here. The topic of this list is the development of Django itself. Karen -- 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...@googlegroup

Ask for help about extending development on Django apps

2010-04-14 Thread JohnHenry
Hi, all I want to do some change on existing django models; I want to add two fields to an existing model and update Database tables; The Django document said syncdb command won't change existing table structure. And It said "use the sql command to display the new SQL structure and compare that

Re: Need help with my SoC proposal.

2010-03-22 Thread Fırat Can Başarır
rses teach and help us analyze structure of programming languages and paradigms, compilers, interpreters, etc (http://en.wikipedia.org/wiki/ Structure_and_Interpretation_of_Computer_Programs - http://en.wikipedia.org/wiki/PLAI). PLAI is, basically, a course where we keep improving a very basic interp

Need help with my SoC proposal.

2010-03-22 Thread Fırat Can Başarır
Hello, I just created a post on django-gsoc mailing list asking for help for preparing a proposal. Here is the link: http://groups.google.com/group/django-gsoc/browse_thread/thread/c920d7d3a29de727 I'd appreciate any help at this stage as I am quite confused about what to do next. Than

Re: Help with Django model and 'choices'

2010-02-02 Thread Vladimir Abramov
You try to store char value in DecimalField 2010/2/2 Karen Tracey : > Please post questions about using Django to django-users.  This list is for > discussion of developing Django itself. > > Karen > > -- > You received this message because you are subscribed to the Google Groups > "Django develop

Re: Help with Django model and 'choices'

2010-02-02 Thread Karen Tracey
And now I see you posted there a couple of minutes before posting here. Please don't do that either. Choose the right list and post once. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-de

Re: Help with Django model and 'choices'

2010-02-02 Thread Karen Tracey
Please post questions about using Django to django-users. This list is for discussion of developing Django itself. Karen -- 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.c

Help with Django model and 'choices'

2010-02-02 Thread Chris McComas
I have this model http://dpaste.com/153722/ and I have a ModelForm for it on my site. When I complete the form it saves everything as it should and displays just a detail page for each entry with all of the correct information from the Model. When I go back to edit the form, or I view it in the CR

Re: Getting Problem in connecting mysql (Help me please )

2010-01-28 Thread skylar . saveland
Subject: Getting Problem in connecting mysql (Help me please ) This is kiran . i am new to django fw.i installed django fw and trying to connect mysql which is installed in localhost.i am using python 26.i modified settings.py according to the mysql db. when i am running server. i am getting the

Re: Getting Problem in connecting mysql (Help me please )

2010-01-28 Thread Eric Holscher
gt; mysql which is installed in localhost.i am using python 26.i modified > settings.py according to the mysql db. > when i am running server. i am getting the fallowing error. > > plese help me.. > > > > > C:\kiranproj\myappone>python manage.py runserver > Val

Re: Getting Problem in connecting mysql (Help me please )

2010-01-28 Thread Karen Tracey
Please direct questions about using Django to the django-users list. django-developers is for discussion of developing Django itself. Karen -- 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

Getting Problem in connecting mysql (Help me please )

2010-01-28 Thread rokson
This is kiran . i am new to django fw.i installed django fw and trying to connect mysql which is installed in localhost.i am using python 26.i modified settings.py according to the mysql db. when i am running server. i am getting the fallowing error. plese help me.. C:\kiranproj\myappone

Re: help needed: non-relational DB support

2010-01-17 Thread Russell Keith-Magee
On Sun, Jan 17, 2010 at 9:56 PM, Waldemar Kornewald wrote: > On Sun, Jan 17, 2010 at 5:36 AM, Russell Keith-Magee > wrote: >> On Sun, Jan 17, 2010 at 9:37 AM, Waldemar Kornewald >> wrote: >>> On Sat, Jan 16, 2010 at 10:35 PM, flo...@gmail.com wrote: I'm not really a developer on Django its

Re: help needed: non-relational DB support

2010-01-17 Thread Waldemar Kornewald
On Sun, Jan 17, 2010 at 5:36 AM, Russell Keith-Magee wrote: > On Sun, Jan 17, 2010 at 9:37 AM, Waldemar Kornewald > wrote: >> On Sat, Jan 16, 2010 at 10:35 PM, flo...@gmail.com wrote: >>> I'm not really a developer on Django itself, but I am fairly >>> interested in non-relational databases, and

Re: help needed: non-relational DB support

2010-01-17 Thread Thomas Wanschik
of > >> nonrel support. > > > We have people interested in adding MongoDB, CouchDB, and maybe > > SimpleDB support. The current code should be abstract enough for > > SimpleDB and probably also MongoDB (though, it would help to modify > > AutoField to also

Re: help needed: non-relational DB support

2010-01-16 Thread Russell Keith-Magee
sted in adding MongoDB, CouchDB, and maybe > SimpleDB support. The current code should be abstract enough for > SimpleDB and probably also MongoDB (though, it would help to modify > AutoField to also support string values). Other DBs might need > additional changes, but that's what the

Re: help needed: non-relational DB support

2010-01-16 Thread Waldemar Kornewald
onrel support. We have people interested in adding MongoDB, CouchDB, and maybe SimpleDB support. The current code should be abstract enough for SimpleDB and probably also MongoDB (though, it would help to modify AutoField to also support string values). Other DBs might need additional changes,

Re: help needed: non-relational DB support

2010-01-16 Thread flo...@gmail.com
I'm not really a developer on Django itself, but I am fairly interested in non-relational databases, and some of the things being said in this thread worry me a bit. > 1. Nonrel DBs don't distinguish between INSERT and UPDATE > On such DBs Model.save_base() shouldn't check if an entity already > e

Re: help needed: non-relational DB support

2010-01-16 Thread Waldemar Kornewald
On Fri, Jan 15, 2010 at 3:55 AM, Russell Keith-Magee wrote: > And to be clear - a solid proposal isn't just "merge this branch". A > patch/branch is one way to prove that you have thought about the > problem in detail, but you also need to provide the discussion and > description necessary to expl

Re: help needed: non-relational DB support

2010-01-14 Thread Russell Keith-Magee
On Fri, Jan 15, 2010 at 5:08 AM, Waldemar Kornewald wrote: > On Thu, Jan 14, 2010 at 2:42 PM, Russell Keith-Magee > wrote: >> Speaking for myself, I'm pretty busy trying to get features completed >> before the 1.2 feature deadline. At the moment, anything that isn't on >> the 1.2 roadmap is only

Re: help needed: non-relational DB support

2010-01-14 Thread Waldemar Kornewald
ctionality is mostly complete that other people offer help, mostly > in the form of testing. We are two developers who work closely together, but we don't feel very comfortable hacking through the SQL layer without any help. Bye, Waldemar Kornewald -- http://twitt

Re: help needed: non-relational DB support

2010-01-14 Thread Russell Keith-Magee
On Thu, Jan 14, 2010 at 9:01 PM, Thomas Wanschik wrote: > > On Jan 8, 1:10 pm, Waldemar Kornewald wrote: >> Hi, >> our non-relational port has come to the point where we need to >> back-port the SQL layer to the query backend API (i.e., the new >> query_class())

Re: help needed: non-relational DB support

2010-01-14 Thread Thomas Wanschik
On Jan 8, 1:10 pm, Waldemar Kornewald wrote: > Hi, > our non-relational port has come to the point where we need to > back-port the SQL layer to the query backend API (i.e., the new > query_class()). We could need some help from Django developers who > know the ORM internals r

Re: please help me about enum attribute..

2010-01-12 Thread Chuck Harmston
7:14 AM, chiranjeevi muttoju wrote: > > hello girt thank for ur reply. > > i have another problem, could u please help me.. > > i want to use the multiple database in django.. i fallowed somany > procedures.. but i cont able to get how to use.. could u please tell me in >

Re: please help me about enum attribute..

2010-01-12 Thread chiranjeevi muttoju
hello girt thank for ur reply. i have another problem, could u please help me.. i want to use the multiple database in django.. i fallowed somany procedures.. but i cont able to get how to use.. could u please tell me in detailed the process for multiple databases in django.. with sample

Re: please help me about enum attribute..

2010-01-12 Thread Gert Van Gool
u'tha wrote: > Hi every one.. > i got a problem.. please help me.. >I create a class for my model, in that class i declare an property > gender and i make it as enum.. > it stores M or F only to the database. the sample code is shown > bellow.. > > GENDER_

please help me about enum attribute..

2010-01-12 Thread 'chiru'tha
Hi every one.. i got a problem.. please help me.. I create a class for my model, in that class i declare an property gender and i make it as enum.. it stores M or F only to the database. the sample code is shown bellow.. GENDER_CHOICES = ( (u'M', u'Male'),

Re: Requesting help - validation on inlineformset_factory instance with invalid data in email field hanging application.

2010-01-08 Thread Rebekah
Thanks Karen and Robert, you both rock! I put in the patch and it's fixed :) On Jan 8, 1:53 pm, Karen Tracey wrote: > On Fri, Jan 8, 2010 at 1:42 PM, Rebekah wrote: > > I've searched but don't seem to see anyone else experiencing this > > issue.  I think it must be a django bug, I just want to

Re: Requesting help - validation on inlineformset_factory instance with invalid data in email field hanging application.

2010-01-08 Thread Karen Tracey
On Fri, Jan 8, 2010 at 1:42 PM, Rebekah wrote: > I've searched but don't seem to see anyone else experiencing this > issue. I think it must be a django bug, I just want to know is this a > known issue, and if so, if there is a patch already in the works. > > I have a view which displays a form a

Re: Requesting help - validation on inlineformset_factory instance with invalid data in email field hanging application.

2010-01-08 Thread Robert Eanes
t.') >company_name = forms.CharField(required=False, > widget=forms.TextInput(attrs={'size':'50'})) >url = forms.URLField(required=False, widget=forms.TextInput(attrs= > {'size':'50'}), label='Website URL', help_t

Requesting help - validation on inlineformset_factory instance with invalid data in email field hanging application.

2010-01-08 Thread Rebekah
#x27;size':'50'}), label='Website URL', help_text='A link to this URL will be displayed on your Ask page to direct your customers back to your website.') ask_prompt = forms.CharField(required=False, widget=forms.TextInput (attrs={'size':'50

help needed: non-relational DB support

2010-01-08 Thread Waldemar Kornewald
Hi, our non-relational port has come to the point where we need to back-port the SQL layer to the query backend API (i.e., the new query_class()). We could need some help from Django developers who know the ORM internals really well. You can find a little introduction to the code here: http

Re: can anybody help me whats the wrong...

2009-12-29 Thread Anton Bessonov
Hello, here is django-developers, not python-tornado ) 'chiru'tha schrieb: > Hi to all, > when i' running the helloworld example, i get this error.. But when i > remove the statements corresponds to the options.py module its > working fine.. > and one thing is when i run the same code with o

can anybody help me whats the wrong...

2009-12-29 Thread 'chiru'tha
Hi to all, when i' running the helloworld example, i get this error.. But when i remove the statements corresponds to the options.py module its working fine.. and one thing is when i run the same code with options.py module on the other mechine its working fine.. so the problem with options.py

Re: Help me write tests for my patch on template rendering

2009-10-21 Thread Peter Bengtsson
Thanks for the help. Patch uploaded http://code.djangoproject.com/ticket/11421 On Oct 21, 6:49 pm, Peter Bengtsson wrote: > On 21 Oct, 16:34, Jacob Kaplan-Moss wrote:> On Wed, Oct > 21, 2009 at 9:29 AM, Peter Bengtsson wrote: > > > But how do I run these? It takes many m

Re: Help me write tests for my patch on template rendering

2009-10-21 Thread Peter Bengtsson
On 21 Oct, 16:34, Jacob Kaplan-Moss wrote: > On Wed, Oct 21, 2009 at 9:29 AM, Peter Bengtsson wrote: > > But how do I run these? It takes many many seconds to run the whole > > suite. > > Seehttp://ericholscher.com/blog/2009/oct/16/easy-running-django-test-suite/ >

Re: Help me write tests for my patch on template rendering

2009-10-21 Thread Jacob Kaplan-Moss
On Wed, Oct 21, 2009 at 9:29 AM, Peter Bengtsson wrote: > But how do I run these? It takes many many seconds to run the whole > suite. See http://ericholscher.com/blog/2009/oct/16/easy-running-django-test-suite/ if you need help running the test suite. Remember: `runtests.py` uses th

Re: Help me write tests for my patch on template rendering

2009-10-21 Thread Jeremy Dunck
On Wed, Oct 21, 2009 at 9:29 AM, Peter Bengtsson wrote: ... > Can someone guide me through the jungle of Django tests to run and > write a test for this? > I figure the place to add test is: > trunk/tests/regressiontests/templates/tests.py > > But how do I run these? It takes many many seconds to

Help me write tests for my patch on template rendering

2009-10-21 Thread Peter Bengtsson
(Sorry about the vague subject line) I've written a patch that fixes this: http://code.djangoproject.com/ticket/11421 But so far only for AttributeErrors. But I don't want to submit the patch until I've got tests for it. Can someone guide me through the jungle of Django tests to run and write a

Need a little help on #6552: admin + GA = broken upstream caching on all pages

2009-10-13 Thread Ole Laursen
Hi! If a core developer would take a look at http://code.djangoproject.com/ticket/6552 and indicate whether the approach is the right one, that would be great. Short version of the story: using django.core.context_processors.auth is the same as saying "all pages depend on who is currently logg

Re: DurationField, request for help and comments

2009-05-26 Thread Yuri Baburov
e syntax ("01:30:10"), which is much more commonly used > for durations. > > I'll freely admit that this isn't perfectly intuitive either, but I > think it's much more natural than the current proposal. I have a > slightly modified version of my original patch t

Re: DurationField, request for help and comments

2009-05-26 Thread Marty Alchin
we should table the discussion on input syntax until after 1.1 is out the door, so we can get some input from people who have more sway in these matters. And yes, I do realize that I'm the one who brought it up. ;) > Also remember not everyone has javascript enabled. I've seen this

Re: DurationField, request for help and comments

2009-05-26 Thread Jerome Leclanche
admit that this isn't perfectly intuitive either, but I > think it's much more natural than the current proposal. I have a > slightly modified version of my original patch that works a bit better > now, and I'm working on a JavaScript helper like the current TimeFiel

Re: DurationField, request for help and comments

2009-05-26 Thread Marty Alchin
orks a bit better now, and I'm working on a JavaScript helper like the current TimeField uses in the admin, which should help relieve the intuitiveness problem. More specifically, can someone explain to me just what problems are solved by adding a custom TimeDelta class? I can only see two benefits

Re: DurationField, request for help and comments

2009-05-26 Thread Jerome Leclanche
I'm not sure what you mean by 31d bug. When I input "31d", I get a value of "1m 13h 30min 56s 167ms 200us", which is the correct duration. (=> http://www.google.com/search?q=how+many+days+in+a+month ). The problem of breaking into smaller parts is that a month isn't an integer amount of days; if i

Re: DurationField, request for help and comments

2009-05-26 Thread Yuri Baburov
Hi Jerome, On Mon, May 25, 2009 at 9:27 AM, Jerome Leclanche wrote: > > Hi Yuri, thanks for the fixes. Two questions: > > - Why mention *args at all (l20,21) if it's to assert they don't exist? Just to show friendlier user message. Without args TimeDelta(x) is TimeDelta(days=x) so it tells that

Re: DurationField, request for help and comments

2009-05-25 Thread Jerome Leclanche
(ticket #2443)[1]. My >>> implementation is working pretty well with a single TextInput. I'm >>> storing the durations as Decimal in the database (since from what I've >>> heard storing them as a 64-bit int is a no-go), in microseconds. >>> When creat

Re: DurationField, request for help and comments

2009-05-24 Thread Jerome Leclanche
no-go), in microseconds. >> When creating or modifying a DurationField, the user can either use >> ints/floats/float strings which will be interpreted as seconds, or use >> a datetime.timedelta object. >> In the admin (this will need some inline help or similar), users have >>

Re: DurationField, request for help and comments

2009-05-24 Thread Yuri Baburov
al in the database (since from what I've > heard storing them as a 64-bit int is a no-go), in microseconds. > When creating or modifying a DurationField, the user can either use > ints/floats/float strings which will be interpreted as seconds, or use > a datetime.timedelta object. &

Re: DurationField, request for help and comments

2009-05-08 Thread Russell Keith-Magee
On Sat, May 9, 2009 at 9:33 AM, Adys wrote: > > I've been working on DurationFields this evening (ticket #2443)[1]. My Hi Jerome, Most of the people that could give you the feedback you are requesting are currently working hard to get version 1.1 out the door. If you wait a couple of weeks for

DurationField, request for help and comments

2009-05-08 Thread Adys
. When creating or modifying a DurationField, the user can either use ints/floats/float strings which will be interpreted as seconds, or use a datetime.timedelta object. In the admin (this will need some inline help or similar), users have a single text input, which lets them type durations as, for e

Re: Ticket #8161 - Please help me fix this.

2009-03-11 Thread Alex Gaynor
WHERE >>>> "testapp_parentmodel_links"."from_parentmodel_id" = 5 LIMIT 21 >>>> >>>> SELECT "testapp_parentmodel"."id", "testapp_parentmodel"."slug" FROM >>>> "testapp_parentmo

Re: Ticket #8161 - Please help me fix this.

2009-03-11 Thread Madhusudan C.S
s"."from_parentmodel_id" = 5 LIMIT 21 >>> >>> SELECT "testapp_parentmodel"."id", "testapp_parentmodel"."slug" FROM >>> "testapp_parentmodel" INNER JOIN "testapp_parentmodel_links" ON >>> (&qu

Re: Ticket #8161 - Please help me fix this.

2009-03-11 Thread Madhusudan C.S
tapp_parentmodel"."id", "testapp_parentmodel"."slug" FROM >> "testapp_parentmodel" INNER JOIN "testapp_parentmodel_links" ON >> ("testapp_parentmodel"."id" = >> "testapp_parentmodel_links"."to_paren

Re: Ticket #8161 - Please help me fix this.

2009-03-11 Thread Alex Gaynor
ntmodel_id" = 6 LIMIT 21 > > From what I see the queries must be actually UNION of two queries which > fetch data both from, "from" and "to" fields in the > "testapp_parentmodel_links" table.It should look some thing like this, from > what I have u

Ticket #8161 - Please help me fix this.

2009-03-11 Thread Madhusudan C.S
actually UNION of two queries which fetch data both from, "from" and "to" fields in the "testapp_parentmodel_links" table.It should look some thing like this, from what I have understood: SELECT "testapp_parentmodel"."id", "testapp_parentmodel".&

Re: How to help with doc?

2009-01-17 Thread Milan Andric
o announce it; all the folks with commit bits are paying > attention to the tracker, and most get automatic notification of all > new tickets). > > [1]http://docs.djangoproject.com/en/dev/internals/contributing/ > [2]http://code.djangoproject.com/query?status=new&status=assigned&status.

Re: How to help with doc?

2009-01-16 Thread James Bennett
On Fri, Jan 16, 2009 at 1:53 PM, Geoffrey Ducharme wrote: > From what I gather, the documentation effort have been mostly voluntary and > not well organized. For example, I don't think there is a mailing list for > documentation feedback. People like you seem to pop in from time to time, > ask a

Re: How to help with doc?

2009-01-16 Thread Alex Gaynor
rogramming, one site completed and a second on >> the way. >> I'd like to contribute to the doc if there's interest in some help >> from an expert writer but non-expert django programmer. >> >> I have found that writing during the learning process has produced

Re: How to help with doc?

2009-01-16 Thread Geoffrey Ducharme
programming books that have done well, editor of others). > > I'm now doing Django programming, one site completed and a second on > the way. > I'd like to contribute to the doc if there's interest in some help > from an expert writer but non-expert django progra

How to help with doc?

2009-01-16 Thread adrian_nye
I'm an experienced technical writer (10 years at O'Reilly, author of several programming books that have done well, editor of others). I'm now doing Django programming, one site completed and a second on the way. I'd like to contribute to the doc if there's interest in

Re: Help needed: Django 1.0 release notes and porting guide

2008-08-19 Thread daonb
I'll take the porting guide - ticket #8438. Although I'm not going to be in Portland, I'll do my best to have a draft ready by the weekend. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. T

Help needed: Django 1.0 release notes and porting guide

2008-08-19 Thread Jacob Kaplan-Moss
some help getting these started. If someone can help use get started, James or I can proofread and finish em. I know we've got quite a few authors on here... anyone interested? Some more details. The two documents will need to cover similar territory, but for different audiences. The rel

Re: Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-06-07 Thread Rob Hudson
On Sat, Jun 7, 2008 at 1:03 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > One suggestion is to assign to "foo.bar_id" instead of "foo.bar"; that > skips the validation hook. But if you've got more suggestions I'm > listening... I got around it just by putting the FK assignments in a try bloc

Re: Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-06-07 Thread Jacob Kaplan-Moss
On Sat, Jun 7, 2008 at 12:35 PM, Rob Hudson <[EMAIL PROTECTED]> wrote: > I was just bitten by this (having since svn up'd trunk). I have some > data migration scripts that make a lot of assignments up front, extra > logic to clean up a few things, and then wraps the save() in a try > block. Hrm,

Re: Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-06-07 Thread Rob Hudson
On Sun, Jun 1, 2008 at 8:11 AM, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > Why not defer it to save()? Currently you can assign invalid values to > other fields and it won't break until save(): > > obj.time = 125 # Ok > obj.save() # ProgrammingError > > And many things even won't break at all

Re: Tightening assignment to ForeignKeys (was: Little help with #6886)

2008-06-01 Thread Jacob Kaplan-Moss
On Sat, May 31, 2008 at 10:25 PM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > The change looks good to me. However, I would note that there is an > analogous change required for OneToOneFields on > SingleRelatedObjectDescriptor, around line 190. Ah, thanks -- good eyes. Jacob --~--~---

Re: Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-06-01 Thread Ivan Sagalaev
Jacob Kaplan-Moss wrote: > So, a proposal: I'd like to change FK assignment to be "special" like > you suggested. I'd like to: > > * Raise a ``ValueError`` if you try to assign an object of the wrong > type to a FK. Why not defer it to save()? Currently you can assign invalid values to other fi

Re: Tightening assignment to ForeignKeys (was: Little help with #6886)

2008-05-31 Thread Russell Keith-Magee
On Sun, Jun 1, 2008 at 3:23 AM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Sat, May 31, 2008 at 10:00 AM, Jacob Kaplan-Moss > <[EMAIL PROTECTED]> wrote: >> So, a proposal: I'd like to change FK assignment to be "special" like >> you suggested. I'd like to: >> >> * Raise a ``ValueError`` i

Re: Tightening assignment to ForeignKeys (was: Little help with #6886)

2008-05-31 Thread [EMAIL PROTECTED]
It looks fine by me(though I didn't look at the tests), one style issue(line 231), no sense checking if something == False, just do `not self.field.null`. On May 31, 2:23 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On Sat, May 31, 2008 at 10:00 AM, Jacob Kaplan-Moss > > <[EMAIL PROTECTED

Tightening assignment to ForeignKeys (was: Little help with #6886)

2008-05-31 Thread Jacob Kaplan-Moss
On Sat, May 31, 2008 at 10:00 AM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > So, a proposal: I'd like to change FK assignment to be "special" like > you suggested. I'd like to: > > * Raise a ``ValueError`` if you try to assign an object of the wrong > type to a FK. > * Raise a ``ValueError`` i

Re: Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-05-31 Thread Jacob Kaplan-Moss
> SVN knows all: http://code.djangoproject.com/changeset/2598 D'oh, your SVN-fu is greater than mine, apparently. > The edge case to look at is assigning None to the a foreign key where > null=False. Ah, there it is. There's nothing in the test suite that relies on that ``DoesNotExist`` excepti

Re: Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-05-30 Thread Russell Keith-Magee
On Sat, May 31, 2008 at 9:25 AM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > Hi folks -- > > I'm being bitten by http://code.djangoproject.com/ticket/6886. Short > version: ``object.related = obj`` doesn't stick the assigned object in > the model cache (the same way accessing ``object.related

Little help with #6886 ("Assigning a Model Instance to a Foreign Key Attribute Doesn't Cache the Instance")

2008-05-30 Thread Jacob Kaplan-Moss
Hi folks -- I'm being bitten by http://code.djangoproject.com/ticket/6886. Short version: ``object.related = obj`` doesn't stick the assigned object in the model cache (the same way accessing ``object.related`` does) and can lead to weird mis-matches between modified objects and ones fresh from t

Re: Help with getting drop-downs to work

2008-04-13 Thread Karen Tracey
On Sun, Apr 13, 2008 at 5:31 PM, steve skelton <[EMAIL PROTECTED]> wrote: > > Trying to get admin on my system to load values based on related > tables on db. I have set the FK on the papers table to tie with the > PK of each look-up table and set models like so: > > class LuPaperContentEra(model

<    1   2   3   4   5   6   >