We are about to upgrade from django 1.3 to 1.5, and we are running into
some problems with some of our tests. This used to work in 1.3:
response=self.c.put("/path/to/some/api",{'someParameter':'someValue'},follow=True),
but it doesn't in 1.5. There is a note about it in the docs that this has
Hi,
We're upgrading our application from 1.3 to 1.5. We have quite a few rest
apis in our application. This used to work in 1.3:
Url:
/path/to/api
Passing parameters in the body like this:
&someParamter=someValue&otherParameter=otherValue
but it doesn't in 1.5, request.POST is empty in the vi
form, but not
otherwise.
Thanks anyway!
kl. 16:10:58 UTC+2 onsdag 19. juni 2013 skrev Anderson Borges følgende:
>
> if the parameters are in the URL the correct is request.GET
> https://docs.djangoproject.com/en/dev/ref/request-response/
>
>
> On Wed, Jun 19, 2013 at 8:09 AM, o
Hello.
I have this model:
class MyModel(models.Model):
string = models.CharField(max_length=96,unique=True,db_index=True)
mother=models.ForeignKey('self',null=True,blank=True)
top=models.ForeignKey('self',null=True,blank=True,related_name="Top")
I need to make a query which will return
> > Use F() objects:
>
> > MyModel.objects.filter(mother=F(top))
Excellent, thanks!
Odd-R.
--
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,
I've recently upgraded from 1.3 to 1.8. I have a rather large testsuite,
and by the end of the upgrade all the tests passed. Now I've added some new
models, and made the new migration, and it seemed to work as expected, but
when I try to run my tests again now, I get an error message like this:
8. oktober 2015 09.19.25 UTC+1 skrev o_r følgende:
>
> I've recently upgraded from 1.3 to 1.8. I have a rather large testsuite,
> and by the end of the upgrade all the tests passed. Now I've added some new
> models, and made the new migration, and it seemed to work as expect
7 matches
Mail list logo