module 'django.db.models' has no attribute 'Foreignkey'

2018-11-20 Thread Avitab Ayan Sarmah
Hi everyone, I have written a code in models.py inside my project folder. I have completed my code and whenever i execute "python manage.py makemigrations first_app", i get an error. The error is mentioned as "AttributeError: module 'django.db.models' has no attribut

Re: module 'django.db.models' has no attribute 'Foreignkey'

2018-11-20 Thread matteo gassend (LanguageMatt)
i > get an error. The error is mentioned as "AttributeError: module > 'django.db.models' has no attribute 'Foreignkey'". > > My code and my anaconda prompt error screenshot is attached below. Please > check my code and give a resolution. > -- >

Re: module 'django.db.models' has no attribute 'Foreignkey'

2018-11-20 Thread Avitab Ayan Sarmah
ompleted my code and whenever i execute "python manage.py makemigrations > first_app", i get an error. The error is mentioned as "AttributeError: > module 'django.db.models' has no attribute 'Foreignkey'". > > My code and my anaconda prompt error

Re: module 'django.db.models' has no attribute 'Foreignkey'

2018-11-20 Thread matteo gassend (LanguageMatt)
tto: > > > Hi everyone, > > > > > > I have written a code in models.py inside my project folder. I have > > > completed my code and whenever i execute "python manage.py makemigrations > > > first_app", i get an error. The error is mentioned a

Re: module 'django.db.models' has no attribute 'Foreignkey'

2018-11-20 Thread Avitab Ayan Sarmah
l 20 nov 2018, 17:57 +0100, Avitab Ayan Sarmah , ha > scritto: > > Hi everyone, > > I have written a code in models.py inside my project folder. I have > completed my code and whenever i execute "python manage.py makemigrations > first_app", i get an error. The err

Re: module 'django.db.models' has no attribute 'Foreignkey'

2018-11-20 Thread matteo gassend (LanguageMatt)
armah , > > > > > ha scritto: > > > > > > Hi everyone, > > > > > > > > > > > > I have written a code in models.py inside my project folder. I have > > > > > > completed my code and whenever i execute "pytho