On 7/2/06, Tyson Tate <[EMAIL PROTECTED]> wrote:
>
> Do I need to add a special line to my urls.py file? My settings are
> as such:
>
> MEDIA_ROOT = '/Users/ttate/Desktop/fallingbullets/media/'
> MEDIA_URL = 'http://localhost:8000/media/'
> ADMIN_MEDIA_PREFIX = '/admin_media/'
>
Yeah, you would
On Jul 2, 2006, at 1:54 PM, Tyson Tate wrote:
...
> image = models.ImageField(upload_to="media/portfolio",
> height_field='height', width_field='width', core=True)
...
That line was my problem. upload_to is not relative to the root, but
to the media/ directory. I set upload_to to "portfo
I'm using the latest Django SVN on my MacOS X box with Python 2.4.3.
Everything has worked so far, except for file uploads. I've got
something like the following model:
from django.db import models
class PortfolioImage(models.Model):
image = models.ImageField(upload_to="media/portfo
3 matches
Mail list logo