ValueError: attempted relative import beyond top-level package

48 views
Skip to first unread message

Abdu-H

unread,
Oct 17, 2020, 7:14:51 AM10/17/20
to Django users
Hello, i am getting a value error (from ..accounts.models import User. ValueError: attempted relative import beyond top-level package) while trying to import my custom user model, i have read through some post suggesting i create a root folder for my project, I would like to know if that wouldn't cause any side effect, as that will change my Django's default project structure. Thank you.


 

Reply all
Reply to author
Forward
0 new messages