Ok, as a reminder, here is the Image model I am using:
class Image(models.Model):
altText = models.CharField(maxlength = 128, null = True, blank =
True)
picture = models.ImageField(upload_to='img/%Y/%m')
The problem is that i want to create multiple objects of this type from
a single upl
Russ, thanks a lot for your reply.
I have tried the `edit_inline' thing, and it works fine in the admin
interface.
In fact, what I want to do is to achieve that but not only in the admin
views but _also_ in my public intefrace views... And that's where i
have this problem.
I'm willing to write
uploaded. I guess I could add more ImageFields to the
model but that would't make sense, would it?
Isn't there a way to upload as many files as i want to (much like gmail
handles attatchments)
and then associating them to the descriptions?
Russell Keith-Magee wrote:
> On 8/29/06, cer
Hi everyone,
I am trying to upload multiple image files in one of my projects.
Single-File upload works fine, but how do I Get to upload many files in
the same form?
I have many of these in the templates:
{{ form.picture }} {{ form.picture_file }}
Then on my views i have:
fo
Yup, That made it...
Thanks a lot!
--~--~-~--~~~---~--~~
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
thon-program
PythonHandler django.core.handlers.modpython
PythonPath "['/home/cerealito'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE metadata.settings
PythonDebug On
As you can guess from here, my project is called `metadata' and lives
under `/home/cerealito/metadata
6 matches
Mail list logo