Greetings.
I beginner in Django, and now i need to load photos from local_storage to front-end. But i dont understand which way is better for this.
I need to it work like this:
On my site i have category called Lamps, with few articles, on_table_lamp, night_lamp and other... Each article (on the site) have unique path to itself, which seems like /category_name/article_name/. I wanna load photos from directory with structure identiques by site navigation, mean photos for on_table_lamp store in root_dir_of_my_projects/photo-storage/LAMPS/ON_TABLE_LAMPS (last two sections equal of site route). How i can load photos from it? What i should make for it? --
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/QvWLcyhMfy8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment