When a user registers for my app.I receive this error when he reaches the profile page.
The \'image\' attribute has no file associated with it. Exception Typ
Not exactly what OP was looking for, but another possible solution would be to set a default value for ImageField:
class Profile(models.Model): # rest of the fields here image = models.ImageField( upload_to='profile_pics/', default='profile_pics/default.jpg')