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.
>
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
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
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
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
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
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
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
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
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
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
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
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
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__
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(
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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())
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
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
>
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
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_
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'),
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
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
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
#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
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
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
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
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
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/
>
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
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
(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
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
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
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
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
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
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
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
(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
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
>>
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.
&
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
.
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
WHERE
>>>> "testapp_parentmodel_links"."from_parentmodel_id" = 5 LIMIT 21
>>>>
>>>> SELECT "testapp_parentmodel"."id", "testapp_parentmodel"."slug" FROM
>>>> "testapp_parentmo
s"."from_parentmodel_id" = 5 LIMIT 21
>>>
>>> SELECT "testapp_parentmodel"."id", "testapp_parentmodel"."slug" FROM
>>> "testapp_parentmodel" INNER JOIN "testapp_parentmodel_links" ON
>>> (&qu
tapp_parentmodel"."id", "testapp_parentmodel"."slug" FROM
>> "testapp_parentmodel" INNER JOIN "testapp_parentmodel_links" ON
>> ("testapp_parentmodel"."id" =
>> "testapp_parentmodel_links"."to_paren
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
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".&
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.
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
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
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
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
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
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
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
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,
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
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
--~--~---
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
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
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
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
> 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
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
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
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
301 - 400 of 500 matches
Mail list logo