I think this may be the same problem that is documented in
http://code.djangoproject.com/ticket/1796
Obviously, making sure that you for e.g. import from 'myproj' is the
right way, but I did submit a patch for management.py that seems to fix
the problem (while not really addressing the root cause
James Bennett wrote:
> On 6/14/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>> Yeah, sorry about that. We really need to fix this. :-(
>>
>> But it's not entirely trivial from what I remember last time I dived in
>> there.
>
> Better to let Guido and company fix relative imports in Python,
>
On 6/14/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> Yeah, sorry about that. We really need to fix this. :-(
>
> But it's not entirely trivial from what I remember last time I dived in
> there.
Better to let Guido and company fix relative imports in Python,
period. Supposed to happen soon,
On Wed, 2006-06-14 at 20:14 +0200, gabor wrote:
> opendev wrote:
> > I have exactly the same problem, my django is the latest mr head unter
> > Python 2.4(win32)
>
> ah, sorry, i forgot to post my findings here...
>
> basically the "problem" was that i specified the imports "relatively".
>
> ex
On Wed, Jun 14, 2006 at 10:51:02AM -0700, Rick wrote:
>
> I'm having a similar (but not identical) problem.
>
> In my app I have Rate's that belong to a Rateset, and Card's that use a
> Rateset. So both Rate and Card have a foreign key connection to
> Rateset.
>
> My application needs a list of
opendev wrote:
> I have exactly the same problem, my django is the latest mr head unter
> Python 2.4(win32)
ah, sorry, i forgot to post my findings here...
basically the "problem" was that i specified the imports "relatively".
example:
1. django-admin.py startproject myproject
2. manage.py sta
I'm having a similar (but not identical) problem.
In my app I have Rate's that belong to a Rateset, and Card's that use a
Rateset. So both Rate and Card have a foreign key connection to
Rateset.
My application needs a list of "active" rates (those rates that are in
use by an active Card). Here
I have exactly the same problem, my django is the latest mr head unter
Python 2.4(win32).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googl
gabor wrote:
>
> for example, with the reverse_lookup test models, this query fails:
>
> >>> User.objects.get(poll__question__exact="What's the first question?")
> Traceback (most recent call last):
>File "", line 1, in ?
>File "/Users/gabor/src/django/django/db/models/manager.py", line
hi,
(from-svn (today) django), postgres
reverse-lookups on foreign keys does not work for me.
i even created a new empty project, and copied the example models from:
http://www.djangoproject.com/documentation/db_api/
into it, and tried the example reverse-query, and it did not work :-(
then
10 matches
Mail list logo