dear list,
i am a noob,
i just starting a project, then create app and add some models,
in the model there is an ImageField,
at the admin area i can't insert record, the browser status is "waiting for 
localhost"
is django development server can upload file/image ?
i have completely read model documentation and django managing file but didn't 
get it solved.

my models and settings look like this :

class person(models.Model):
    name = models.CharField(max_length=30)
    address = models.CharField(max_length=50)
    photo = models.ImageField(upload_to='photo')

settings.py :
MEDIA_ROOT = '/home/somat/project/media/'

MEDIA_URL = '/media/'

thank's

somat.

-- 
Stay Hungry Stay Foolish
http://somat.wordpress.com


--~--~---------~--~----~------------~-------~--~----~
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