I'm trying to upload a picture through my admin page and keep getting Errno 13.I have no clue what is going wrong, any help would be great.
Here are the lines of code from my model, image_object = models.ImageField(db_column='IMAGE_OBJECT',upload_to = "/media/", blank=True) # Field name made lowercase. setting, ENV_PATH = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) MEDIA_ROOT = os.path.join(ENV_PATH, '/media/') MEDIA_URL = "/media/" and httpd.conf files Alias /media /path_to_media_folder/media/ <Directory /path_to_media_folder/media> Require all granted </Directory> I have already used chmod 777 on the media file fyi -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7702c5b7-a6ea-44f3-995b-43e6bd1094dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.