[no subject]

2019-09-24 Thread Avi gehlot
Yo put in admin.py Django.models import users But You put apptwo.models inport users This way ... On Tue, 24 Sep 2019 at 9:43 AM, Deep Sukhwani wrote: > Are you supposed to be using a virtualenv and you don't have that > activated? > > Can you run *pip freeze | grep -i django* and share the

Re: about Django tutorial

2019-07-24 Thread Avi gehlot
Medium.com On Wed, 24 Jul 2019 at 4:33 PM, 田村佑太 wrote: > Using the URLconf defined in mysite.urls, Django tried these URL > patterns, in this order: > >1. admin/ > > The current path, polls/, didn't match any of these. > > > what is the problem of this? > > > at ./mysite/mysite/urls.py > >

[no subject]

2019-07-24 Thread avi gehlot
You can contact me .. On Wed, 24 Jul 2019 at 3:57 PM, Soumen Khatua wrote: > Hi Folks, > I want to create one signup page where end-user can SignUp and LogIn by > using their e-mail id nit by Username. Please tell me how i can do > that,please provide me source code for that. > > Thank You > >

Re: image field null=true

2019-06-04 Thread avi gehlot
On Tue, 4 Jun 2019 at 9:26 PM, Sipum Mishra wrote: > Hi Pradeep, > > You are using a non nullable field image. And for that you have to provide > a default value. Without default value it is unable find. > > > On Tue, 4 Jun, 2019, 9:12 PM Pradeep Singh, wrote: > >> why i am getting these error

Re: Right method for url mapping

2019-05-26 Thread avi gehlot
you can write only path(' ', views.show, name='index') On Sunday, May 26, 2019 at 4:44:18 AM UTC+5:30, Saeed Pooladzadeh wrote: > > Hello > > Wich of them is the right method for url mapping: > > path('', views.show, name='index'), > > or > > path('index', views.show), > > Regards, > > Saeed >

Re: help

2018-07-06 Thread Avi gehlot
Because you run your project pyathon manage.py Than this error generate you open your project than >settings scroll down than app name write your project working properly On Thu, 5 Jul 2018, 16:48 Umar Kambala, wrote: > please this what i had after running my Django-admin startproject myproject

Re: help

2018-07-06 Thread Avi gehlot
Foreign key not working properly On Fri, 6 Jul 2018, 16:43 Umar Kambala, wrote: > please this the error i got when i run python manage.py makemigrations > > File > "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py", > line 371, in