Hello,

I am new to django, any help would be appreciated.
I got admin backend part working
class Thing(models.Model):
    poll = models.ForeignKey(Poll) # assigning specific image for each
question
    name = models.CharField(blank=False, null=False, max_length=30)
    photo = models.ImageField(upload_to='media/photos', blank=True,
null=True)

so where does it upload the photo to(where do i see it on frontend
side?)? localhost:8000/media/photos/ ? i tried that and it says page
does not exist saying "Page not found: /Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/site-packages/django/
contrib/admin/media/photos"

Thank you,
Dhruv
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to