> With this the uploaded files will go to <>/files/,
> howeverI want to upload all files to a subdirectory with the name of
> the project, how can I do that?
Same question was asked yesterday:
http://groups.google.com/group/django-users/browse_thread/thread/7e193c1532920a6f#
--
Maciej Wisniowski
you could use the filebrowser:
http://code.google.com/p/django-filebrowser/
patrick
On Feb 8, 8:24 am, josh <[EMAIL PROTECTED]> wrote:
> I have this question as well but from what I've seen the only
> customizing available is to use strftime formatting.
> josh
>
> On Feb 6, 2008, at 11:16 AM,
I have a model like
class ProjectFile(models.Model):
project = models.ForeignKey(Project)
file = models.FileField(upload_to = '/files/')
class Project(models.Model):
name = models.CharField(max_length = 100)
With this the uploaded files will go to <>/files/,
howeverI want to upload
3 matches
Mail list logo