Hi to all Django users,
Maybe a few people from the group use model_mommy lib to help with your
tests fixtures. As one of the maintainers of the project, I'm here to
announce its latest and final release 2.0.0 because the lib is now called
*model_bakery*.
All the information to help you to migrat
Just importing a function from django.views.generic will trigger the
warning. So I'd check your code for imports.
I made tracking down the source of these warnings a little easier by
putting stacklevel into simple.py:
https://code.djangoproject.com/ticket/18780
On Sat, 2012-08-18 at 05:58 -0700,
On Saturday, August 18, 2012 1:31:42 PM UTC+2, Paul Backhouse wrote:
>
> > I seem to be getting a DeprecationWarning when my view hits this line
> of
> > code:
> >
> > return HttpResponseRedirect(reverse(results, args=[query.jobid]))
> >
>
> What does the depreciation warning say?
>
>
H
> I seem to be getting a DeprecationWarning when my view hits this line of
> code:
>
> return HttpResponseRedirect(reverse(results, args=[query.jobid]))
>
What does the depreciation warning say?
--
You received this message because you are subscribed to the Google Groups
"Django users" group
I seem to be getting a DeprecationWarning when my view hits this line of
code:
return HttpResponseRedirect(reverse(results, args=[query.jobid]))
I'm not directly using any generic views here. Is this a bug? If not,
what is the right way to redirect to a different view? That line of code
ference on what I have to change to get rid of
> > this deprecation warning. I'm using the trunk version:
>
> > VERSION = (1, 3, 0, 'beta', 1)
>
> > This is what I get:
>
> > [Sun Mar 06 14:47:36 2011] [error] /usr/local/lib/python2.6/dist-
> >
On 6 March 2011 13:55, Gabriel - Iulian Dumbrava
wrote:
> I couldn't find any reference on what I have to change to get rid of
> this deprecation warning. I'm using the trunk version:
>
> VERSION = (1, 3, 0, 'beta', 1)
>
> This is what I get:
>
> [Sun
I couldn't find any reference on what I have to change to get rid of
this deprecation warning. I'm using the trunk version:
VERSION = (1, 3, 0, 'beta', 1)
This is what I get:
[Sun Mar 06 14:47:36 2011] [error] /usr/local/lib/python2.6/dist-
packages/django/db/models/fiel
8 matches
Mail list logo