On Apr 22, 3:13 am, Ramashish Baranwal <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I using a script to fetch some database records. However, when it
> encounters a ManyToManyField it gives the following error-
>
> TypeError: Cannot resolve keyword 'book' into field
>
> My models.py looks like this-
>
> f
Looks like the download link is broken.
On Apr 21, 4:24 am, Oliver Charles <[EMAIL PROTECTED]> wrote:
> Morning all
>
> I've been meaning to post this to the list for a while, and I think my
> code is now ready to be shown. I've been working on a small bug tracker
> type project for myself - as I
On Wed, 2007-04-18 at 19:57 -0300, Luiz Carlos Geron wrote:
> Hi,
> I have three models, listed at [1], that I want to get data from with
> only one query, because of performance issues with my app. The way
> that worked so far is:
>
> league_ids = [12, 21]
> bets =
> models.Bet.objects.filter(g
Hi Brandon,
On Fri, Apr 20, 2007 at 01:58:48PM -0400, [EMAIL PROTECTED] wrote:
> I want to try out Django for a small project, hoping to discover that
> it will be the web framework of my dreams, but I need some advice.
>
> My project group has written an xml-rpc API in front of our database
> an
Jay,
Thanks for all your help. I found this ticket (http://
code.djangoproject.com/ticket/3708) and switched from python 2.5 back
to 2.4 and now everythings working fine. Since it's a known issue,
I'll just leave it alone and continue on with 2.4. As for the
indents, I think it's just the form
Thats' because by default Django will name the field "model_set" on the
reverse relationship. So if you want to access it that way, you should
do entry.updates_set.all(). A nicer, more readable way, is to set
related_name on the ForeignKey. E.g: entry = models.ForeignKey(Entry,
related_name="u
On 4/21/07, mateo <[EMAIL PROTECTED]> wrote:
>
> I've found that if I add the 'admin' subclass to the 'choices' class
> and remove 'edit_inline=models.TABULAR, num_in_admin=3' from
> the Foreign Key I can save new entries just fine. The error only pops
> up when I have the 'choices' edited inline
I have an app that I'm building and I've run into a problem. I have 2
models "Entries" and "Updates" which points to "Entries" with a
ForeignKey. The idea is that an entry can be updated at multiple times
and I track the date and other meta information of the update within
the update model.
When
I've found that if I add the 'admin' subclass to the 'choices' class
and remove 'edit_inline=models.TABULAR, num_in_admin=3' from
the Foreign Key I can save new entries just fine. The error only pops
up when I have the 'choices' edited inline with the 'polls'.
On Apr 21, 3:02 pm, mateo <[EMAIL P
Hi,
I using a script to fetch some database records. However, when it
encounters a ManyToManyField it gives the following error-
TypeError: Cannot resolve keyword 'book' into field
My models.py looks like this-
from django.db import models
# Create your models here.
class Author(models.Model)
I've been following the code step by step and checking along the way,
but I didn't try to save anything up until the end of that section.
The admin console itself works fine, it isn't until I hit 'save' (or
one of it's variations) that I get the error. I will rollback the
models.py tutorial code
On 4/21/07, mateo <[EMAIL PROTECTED]> wrote:
> I am on part 2, 'Custominze the Admin Change List'. (http://
> www.djangoproject.com/documentation/tutorial02/#customize-the-admin-change-list)
Sorry, I meant, what stage exactly did it break? ie., did you go
through tutorial 2 step by step, checkin
> What stage of the tutorial, exactly, did this error occur at? Could
> you also please copy and paste the contents of your models.py file
> with your response?
>
> Jay P.
I am on part 2, 'Custominze the Admin Change List'. (http://
www.djangoproject.com/documentation/tutorial02/#customize-the-a
Hey all,
I made this the other day to help me track all the sql statements my
pages were doing. I wanted something unobtrusive (i.e. middleware)
and simple. Hope you like:
from django.db import connection
import re, pprint
body_end = re.compile('', re.IGNORECASE)
class DebugMiddleware(object
Hi,
I'm making my first 0.96 application, a Faroe Islands tax calculator
(it's at gladsheinur.webfactional.com/skattur/, check it out, it's a
work in progress).
I'm trying to use a BooleanField, but GET requests send nothing back
to the server if the checkbox is unchecked. That makes the form re
I d like to show you
http://www.morecute.com
It has been awesome runs on Fedora
I wanted to share it early on so there is litte load on the server and
the early adopter crowd can try it out
thanks
Jerry
It is actually more than photosharing
http://morecute.com/vote/400562/1
--~--~-~-
I d like to show you
http://www.morecute.com
It has been awesome runs on Fedora
I wanted to share it early on so there is litte load on the server and
the early adopter crowd can try it out
thanks
Jerry
--~--~-~--~~~---~--~~
You received this message because y
On 4/21/07, mateo <[EMAIL PROTECTED]> wrote:
>
> List,
>
> When following the tutorial I get the below error when attempting a
> save from the admin console. I'm new to Django and certainly not a
> guru of any sort so I thought I would ask about it here first before
> posting a bug report. I am
List,
When following the tutorial I get the below error when attempting a
save from the admin console. I'm new to Django and certainly not a
guru of any sort so I thought I would ask about it here first before
posting a bug report. I am using the latest SVN release as of 4/21.
Any ideas what mi
Any ideas on how I can do this with one query?
On 4/18/07, Luiz Carlos Geron <[EMAIL PROTECTED]> wrote:
> Hi,
> I have three models, listed at [1], that I want to get data from with
> only one query, because of performance issues with my app. The way
> that worked so far is:
>
> league_ids = [12,
OK thanks very much for the reply Malcolm.
On Apr 21, 3:47 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-04-20 at 20:00 +, Jamie Pittock wrote:
> > Hi all,
>
> > I'm currently planning my first Django application and after a quick
> > search of groups I need a model structu
> I will be working on this project as part of my Real Job(tm),
> so devoting time to it should not be a problem. However,
> before I begin coding, I want the community's input on a few
> issues.
>
> What is the right way, at DB level, to implement the audit
> trail? I had two ideas:
Todd Schr
Morning all
I've been meaning to post this to the list for a while, and I think my
code is now ready to be shown. I've been working on a small bug tracker
type project for myself - as I have 3 Django projects on the go at the
moment. Anyway, I wanted a way to track changes made to bugs/tickets
that's a nice idea
thanks Michael
On 4/21/07, Michael Trier <[EMAIL PROTECTED]> wrote:
>
>
> I recently did something similar but what I ended up doing was
> creating a symbolic link to a path that was already in my sys.path
> location. For me since I have site-packages/django I just created a
>
On Sat, 2007-04-21 at 01:47 -0700, Michael wrote:
> I'm not sure if this is obvious, but the documentation at:
>
> http://www.djangoproject.com/documentation/url_dispatch/#naming-url-patterns
>
> doesn't mention how you can use your named URL patters to redirect
> from one view to another. It on
I'm not sure if this is obvious, but the documentation at:
http://www.djangoproject.com/documentation/url_dispatch/#naming-url-patterns
doesn't mention how you can use your named URL patters to redirect
from one view to another. It only shows how you can get the url for a
view from within a temp
All you have to do is sign up and then get others to sign up under
you, $1 for every single person.
http://genbucks.com/?jassey
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
Hey, seeing as you haven't had any relies yet, I will through my idea down.
What I think you're gonna have to do for the most graceful version is to
create your own database wrapper, that calls xml-rpc, instead of an
actual database. Then Django *should* be free to use. The problem may
occur t
Send free email to dating members
http://www.datingseasons.com
Find your dream partner online free
http://www.datingseasons.com
Search and make your online partners
http://www.datingseasons.com
Find more details about your dream partner
http://www.datingseasons.com
Search your soulmate
http://
I have build a simple billing module for an ad agency which is functional
using Django. It is very easy to use it
Ramdas
On 4/20/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
> On 20-Apr-07, at 8:53 AM, Jeremy Dunck wrote:
>
> >>
> >> check out satchmo - it is an erp with django
> >
> >
30 matches
Mail list logo