hi thanks Malcolm
i already have __str__ method on my Teacher class.
its definition is
def __str__(self)
return self.name
where name is a CharField . we will be getting the name from the admin gui
page
thanks and regards
ashok
On 3/5/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
>
hey thanks a lot malcolm and james *__repr__* worked fine it my admin
interface (GUI) i could see things like [thomson,Richie] as expected
adding __repr__ solved my problem
On 3/5/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, 2007-03-05 at 00:55 -0600, James Bennett wrote:
hi all,
sorry to bother u ppl for the second time in a day . in my application i
have foreign key relationship which is shown as a drop down list box. but in
my application it contains some 2000-3000 entries . so i tried to display in
other format . but it seems that a foreign could only be displa
hi all ,
for the list_filter to add fields other than specified fields i got a patch
file (*list_filter.3.diff* ) from the following url
http://code.djangoproject.com/ticket/3400 but i do know how to apply it in
windows could somebody tell me the command to apply it .
thanks in advance
ashok
--
hey thank u guys this time just did manual replacement and it works fine
On 3/6/07, limodou <[EMAIL PROTECTED]> wrote:
>
>
> On 3/6/07, MacH G <[EMAIL PROTECTED]> wrote:
> > hi all ,
> > for the list_filter to add fields other than specified fields i got a
>
> down based on specific criteria just a thought but when
> something has that many entries (not sure what your app is) ... seems
> like maybe they should be categorized...then have the person choose a
> category first.
>
> On Mar 5, 5:00 am, "MacH G" <[EMAI
hi all i have an app(USERS INFO) where the users details and photos are
maintained .when i just click the app USER INFO it displays all the users
details along with the thumbnail image of the photo and a link to the photo
. but when i just click the link it is not opening neither in the same
window
hi got solution ot the problem .
just we have to add raw_id_admin = True as a attribute in defining the
foriegn key in our model . this will show the textbox in our admin interface
On 3/6/07, MacH G <[EMAIL PROTECTED]> wrote:
>
> hi thanks carole today full day searched for this p
I'm extending a personal invitation to my friends and family.
http://friends.unicefusa.org/r/beee81202345102a8408
--
ashok
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
9 matches
Mail list logo