Different versions settins for a specific model

10 views
Skip to first unread message

Diego Ponce de Leon

unread,
Dec 15, 2012, 10:02:06 PM12/15/12
to djangofi...@googlegroups.com
Hello all, 

Is there any easy hack to set different version settings for a specific model?

For example: I need a model "Portolio" to have 3 different image sizes, but I just need one size for the model "Clients".

Thanks! 

patrick kranzlmueller

unread,
Dec 16, 2012, 3:58:45 AM12/16/12
to djangofi...@googlegroups.com
Hi,

Versions are not tied to models. They are generated with templatetags.
Therefore, just use the 3 image sizes with your portfolio template and
the one size with your clients template.

Best,
Patrick


2012/12/16 Diego Ponce de Leon <mala...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Django FileBrowser" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/djangofilebrowser/-/-g4KrK9LJ5kJ.
> To post to this group, send email to djangofi...@googlegroups.com.
> To unsubscribe from this group, send email to
> djangofilebrow...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/djangofilebrowser?hl=en.
Reply all
Reply to author
Forward
0 new messages