much appreciated
as I am nearing my deadline this week:)
Thanks in advance,
Irum
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, sen
ation/$', resolveauction)). Now how do I fire manage.py
from cron to trigger this uri(e.g. /res_auction/) functionality?
Thanks again and looking forward,
Irum
On May 23, 1:18 am, Daniel Roseman wrote:
> On May 22, 4:17 pm, irum wrote:
>
>
>
> > Hi,
>
> > I am working on
Hi,
I am working on django for a project and have to do some funcitonal
testing.
However, whenever I run manage.py test, I get the error shown below. I
have tried searching threads in this group and they mention having
these applications installed in my settings file:
'django.contrib.auth', 'djang
Sorry, I fixed it. It was a small overlook so I thought I should post
it here for newbies. After updating my django-trunk and including
installed apps,I was missing application name after test, i.e.,
command should be: manage.py test [aapname]
BR,
Irum
On May 26, 7:12 pm, irum wrote:
>
status_code returned is 302
These tests are run successully, meaning the user is redirected to
login page, implying that client never enters the else branch for
authenticated user in the 'cauction' view.
self.failUnlessEqual(r.status_code, 302)
self.assertRedirects(res
n this thread:
http://groups.google.com/group/django-users/browse_thread/thread/617457f5d62366ae/e5d1436ac93aeb61?lnk=gst&q=baffled#
I have also tried after updating my django-trunk but the problem
persisits. Should I downgrade to Python 2.6.4 to fix this?
Irum
On May 28, 12:13 pm, Daniel Roseman wro
lumn 1 (char 1)
...
In line 1 of my views.py, I am just importing : from django.http
import HttpResponse, HttpResponseNotAllowed, HttpResponseForbidden
And there is no problem in this line, since my rest of the views
perfectly fine if its not for this problem.
Any help and input would
le to invoke POST on 'payment' resource else
it should set a flag to false. I will be implementing an algorithm,
but I was thinking can we put conditions on invoking methods of
resource like we would do with JML for java interfaces?
I have been stuck with these problems for almost two we
ejson. Can someone give me a solution to this
problem and help me fix this.
Thanks,
Irum
I get the attribute error:
'HttpResponse' object has no attribute 'read'
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
ied json.loads and json.dumps on this data.
With json.loads(p), I get the following error: expected string or
buffer
With json.dumps(p), I get the following error:
is not JSON
serializable
How do I address this problem? Any help regarding this would be
helpful.
Thanks and Looking forward,
Irum
n.loads and json.dumps on this data.
With json.loads(p), I get the following error: expected string or
buffer
With json.dumps(p), I get the following error:
is not JSON
serializable
How do I address this problem? Any help regarding this would be
helpful.
Thanks and Looking forward,
Irum
--
Yo
mplicated.
And with:
x = json.load(p)
print x
'HttpResponse' object has no attribute 'read'
In all the examples, p is the HttpResponse object I get.
Looking forward,
Irum
On Sep 2, 12:09 pm, Daniel Roseman wrote:
> On Sep 2, 9:57 am, irum wrote:
Thank you so much, it worked:)...Now I just have to play with parsing
json that I think I can manage.
Thanks again:)
Irum
On Sep 2, 1:11 pm, Daniel Roseman wrote:
> On Sep 2, 10:37 am, irum wrote:
>
>
>
> > Hi,
> > Thanks for your prompt reply.
> > I have tried
13 matches
Mail list logo