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
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.
> --
>
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
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
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
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
6 matches
Mail list logo