Closed AbdealiLoKo closed 11 years ago
Error caused due to empty MEDIA_ROOT. Added to local_settings.
I'm still getting the error
Error: One or more models did not validate: users.userphoto: "photo_path": FileFields require an "upload_to" attribute.
While trying to "Validate models"
Like I said, don't leave your MEDIA_ROOT blank.
I pulled code right now, and it is giving some error. First error was "settings" not found in users/models.py .. when i put from erp import settings, that error went away.
Then got the error : Error: One or more models did not validate: users.userphoto: "photo_path": FileFields require an "upload_to" attribute. when i did syncdb
Could you fix ?