beer-inder / Assignment1_7427

0 stars 0 forks source link

SMTP Authenticatin error while creating SuperUser from Heroku CLI #15

Closed beer-inder closed 4 years ago

beer-inder commented 4 years ago

While creating super user from Heroku CLI, it is giving SMTP Authentication Error

Error Logs file attached SMTP_issue_createSuperUser.txt

beer-inder commented 4 years ago

Again human error and quite similar to 6th Point(above). Accidently copied the manage.py file from one repo to other. Problem was in below line in manage.py in main()

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Assignment1_7420_WebApp.settings')

"Assignment1_7420_WebApp" is the repo/project name. But while copying from other repo, it was wrong name. So whenver python manage.py createsuperuser was used, it search for DB in wrong repo, which was causing and issue.