elf. so if I
have 20 accounts, I see 20 true/false on the right side bar. Is there
a way to filter on a foreign key field? I am trying to filter user
objects based on accounts foreign key field. Thanks for looking.
saeb
--~--~-~--~~~---~--~~
You received this mes
x27;t run the test. But if I do manage.py test
App1.ShortTest.add_test the test runs fine.
Thanks for looking into it.
Saeb
On Mar 5, 5:43 pm, Malcolm Tredinnick
wrote:
> On Thu, 2009-03-05 at 09:05 -0800, saeb wrote:
> > My project is divided into 3 apps, and all 3 apps have a "tests
yes, it does. But few of the models.py are empty. whats weird is if I
try to run the tests individually, they run fine, but I can't run then
with manage.py test
thanks for replying.
On Mar 5, 11:52 am, Alex Gaynor wrote:
> On Thu, Mar 5, 2009 at 12:17 PM, saeb wrote:
>
&g
Sorry for multiple posts
On Mar 5, 11:16 am, saeb wrote:
> My project is divided into 3 apps, and all 3 apps have a "tests.py"
> file. When I run manage.py test, none of the tests run. But if I run
> manage.py test app1.TestCase1.test1 , it runs fine. For some reason
&g
I missing?
Thanks,
saeb
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send em
I missing?
Thanks,
saeb
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send em
I missing?
Thanks,
saeb
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send em
My admin webpage gets stuck and often fails on large database when I
use Databrowse. I think it needs pagination, is there a way to get
around this? I really like the Databrowse feature as a read-only
tool, it would be great if someone helps me out in this issue.
Thanks,
saeb
I figured it out. If someone wants to know how to do it, here is the
snippet:
http://www.djangosnippets.org/snippets/1063/
On Sep 17, 9:54 am, saeb <[EMAIL PROTECTED]> wrote:
> Can some please help me with this issue? I have been trying all sorts
> of stuff for past few hour
gain.
On Sep 16, 11:47 pm, saeb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to send a file as an attachment in an email. It works
> fine when I attachment file is hardcoded. But when I try to use
> FileInput widget, I just get the filename in request.FILES dictionary.
&g
Hi,
I am trying to send a file as an attachment in an email. It works
fine when I attachment file is hardcoded. But when I try to use
FileInput widget, I just get the filename in request.FILES dictionary.
Is it possible to get full path of the file? Am I using wrong widget
for this purpose?
tml', { 'user_details': user_details, 'user_acct_details':
trader_acct_details, 'order_details': order_details })
On Aug 28, 11:49 am, David Zhou <[EMAIL PROTECTED]> wrote:
> On Aug 28, 2008, at 12:45 PM, saeb wrote:
>
> > order is important
g Rating' :
3.6}
so when I render I would these to appear in order.
thanks!
On Aug 28, 11:36 am, David Zhou <[EMAIL PROTECTED]> wrote:
> On Aug 28, 2008, at 12:34 PM, saeb wrote:
>
> > I am using a dictionary to render a template. But my rendered
> > template has
I am using a dictionary to render a template. But my rendered
template has the key-value pair which are out of order. Since
dictionary uses a hash table to store it elements, I can't rely on
order of these key-value pairs. Is there any other way to render
bunch of key-value items from a view
forgot to mention, that I did HttpResponse(response)
and there was just gibberish displayed...
On Aug 25, 10:00 am, saeb <[EMAIL PROTECTED]> wrote:
> Thanks, I did use form validation as inhttp://dpaste.com/73704/but I
> couldn't get the validation to work. I wasn't
PROTECTED]> wrote:
> On Mon, Aug 25, 2008 at 9:01 AM, saeb <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > Following is my view.http://dpaste.com/73677/
> > In the template I have 2 buttons, one is to retrieve results for the
> > id typed in the input box and o
DataError saying -- " invalid
input syntax for integer: "" ". Can anyone give me a better idea to
achieve this?
thanks
saeb
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
s quite a lot wrong with this code, quite apart from the
> list_display issue. Comments interspersed below.
>
> On Aug 19, 2:33 pm, saeb <[EMAIL PROTECTED]> wrote:
>
>
>
> > No, that is not the real code. The real code as you mentioned is split
> > into models.
in):
list_display =( 'id', 'acct_name' )
On Aug 19, 8:04 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2008-08-18 at 20:50 -0700, saeb wrote:
>
> > Sorry to ask a stupid question, but following is my basic model
> > structure. I want to cre
Sorry to ask a stupid question, but following is my basic model
structure. I want to create a custom manager for a class which has a
foreignKey to another class. And to call that manager function in list
display to display all the related properties. Am I doing it right? I
don't see any associat
20 matches
Mail list logo