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. >

what is the meaning of this error

2019-07-06 Thread Saeed Pooladzadeh
Hello I try to use wagtail cms and my ide is visual studio with python plugin. When I wtite this cmand : $ wagtail start mysite I get this error: ERROR: Could not find a version that satisfies the requirement mysite (from versions: none) ERROR: No matching distribution found for mysite -

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

what is the meaning of this error

2019-05-27 Thread Saeed Pooladzadeh
hello Can you please help me to understand the meaning of this error: NameError at /emp name 'redirect' is not defined Request Method: POST Request URL: http://localhost:62597/emp Django Version: 2.2 Exception Type: NameError Exception Value: name 'redirect' is not defined Exception Location