Try "pip freeze > requirements.txt" if YouTube already have this
requirements file. Try: "pip install -r requirements.txt". If it doesn't
work, you may need tô reinstall django because that is a package error.

Em ter., 26 de out. de 2021 09:46, Cheikh SOW <cmkm....@gmail.com> escreveu:

> Hello everyone,
>
> I'm new to Django and I'm currently following the Mozilla tutorial to be
> familiar with this Python written framework.
>
> The issue I have is that after building my database models and typing :
>
> '*python3 manage.py makemigrations*'
>
> I get the error
>
> "*AttributeError: 'Model' object has no attribute '_meta*'".
>
>
> Can anyone help, please ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ba72f8c7-ff31-4fdc-8695-49c73a700331n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ba72f8c7-ff31-4fdc-8695-49c73a700331n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFFs8J-uB_QEo_Kb7PD2bh%3D%3DxmCf1UXgrx50QSdm-kKKz0LKNg%40mail.gmail.com.

Reply via email to