Re: what is the meaning of this error

2019-07-06 Thread laya Mahmoudi
I usually fix this error by entering the exact version which matches the other installed packages. Like pip install packagenane== version like: 1.10 در تاریخ یکشنبه ۷ ژوئیهٔ ۲۰۱۹،‏ ۸:۱۵ Saeed Pooladzadeh نوشت: > Hello > > I try to use wagtail cms and my ide is visual studio with python plugin. >

Re: what is the meaning of this error

2019-05-27 Thread Lunga Baliwe
You probably have to import and use like this https://docs.djangoproject.com/en/2.2/topics/http/shortcuts/#redirect from django.shortcuts import redirect def my_view(request): ... obj = MyModel.objects.get(...) return redirect(obj) On Tue, May 28, 2019 at 1:49 AM Saeed Pooladzadeh w