Mozilla Django Tutorial.

31 views
Skip to first unread message

Cheikh SOW

unread,
Oct 26, 2021, 8:47:31 AM10/26/21
to Django users
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 ?

Luigi Cleffi

unread,
Oct 26, 2021, 9:32:08 AM10/26/21
to django...@googlegroups.com
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.

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

KUYESO ROGERS

unread,
Oct 26, 2021, 9:32:08 AM10/26/21
to django...@googlegroups.com
Class Model name(models.Model):


Please show your code

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

DISCLAIMER

This email and its attachments are, unless the context clearly indicates otherwise, the property of Mbarara University of Science and Technology. It is confidential, private and intended for the addressee only. If you are not an intended recipient you must not use, disclose, distribute, copy, print or rely on this email. Mbarara University of Science and Technology accepts no liability to anyone whatsoever for any of the contents of the email or any of its attachments.


Luigi Cleffi

unread,
Oct 26, 2021, 9:51:22 AM10/26/21
to django...@googlegroups.com
Can you send me the path to find ? 

Reply all
Reply to author
Forward
0 new messages