How to create Photo Gallery with Django

Introduction Here I will show you how to create photo gallery with Django. Django is a Python based framework used to build complete web applications. Photo gallery also known as image gallery, media gallery or photo album is used to manage your photos. You can view the images one by one from a list of images in a gallery. You can navigate to another photo in the gallery using next or previous arrow link. You can click on a particular photo to see the larger size of the thumbnail which…

Continue

Creating custom template tags and filter in Django

Introduction Creating custom tags and filter in Django templates is pretty simple. It acts like a custom function that can be used in Django templates. The situation may occur where you need to split a string or you need to access array element using variable as an index, then you have to create custom tags and filter (acts as a function) in Django templates. You will find that built-in function, such as, split() is there in Python but you won’t be able to use this function directly in Django template.…

Continue