New model_mommy release + Deprecation Warning

2019-10-22 Thread Bernardo Fontes
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

Re: deprecation warning from HttpResponseRedirect(reverse(...))

2012-08-20 Thread Paul Backhouse
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,

Re: deprecation warning from HttpResponseRedirect(reverse(...))

2012-08-18 Thread Mike
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

Re: deprecation warning from HttpResponseRedirect(reverse(...))

2012-08-18 Thread paulb
> 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

deprecation warning from HttpResponseRedirect(reverse(...))

2012-08-17 Thread Mike
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

Re: deprecation warning

2011-03-06 Thread Gabriel - Iulian Dumbrava
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- > >

Re: deprecation warning

2011-03-06 Thread Ɓukasz Rekucki
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

deprecation warning

2011-03-06 Thread Gabriel - Iulian Dumbrava
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