but ImageField, you should not use to save the imported files by users?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com
Hi Federico,
Maby is better idea you use the models.ImageField(upload_to= path)
ie:
locandina = models.ImageField(upload_to= path)
then in the template you can get the path:
{{ object.locandina.url }}
Also, you need to read some about configuration on settings.MEDIA_ROOT and
settings.MEDIA_U
2 matches
Mail list logo