This Python/Django gallery website was created on the 27/03/2022
By IAN OTIENO
This is a django gallery application where users can upload their photos and store according to different locations taken and different category
Click on the link below to view the site;https://iainogallery.herokuapp.com/
These are the behaviours/features that the application implements for use by a user and writer.
- User loads the application using the url provided
- The user sees various photos posted
- The user clicks on the photo; photos details page is loaded
- user searches for images by category
- different photos are loaded according to that category
- User filters photos by location and different photos are loaded according to that location
- user clicks on the copy button to copy the link to download images
Behaviour | Input | Output |
---|---|---|
users loads the application | On page load | user sees various photos posted on the application |
user clicks on the photo | On click | photo's details page is loaded showing the description, name , location and category |
user searches for category on the search bar | on page load | different photos are loaded according to that category |
user clicks on the loaction | On page load | different photos are loaded according to that location |
user clicks on the copy button | image link is copied to the clipboard |
- Python 3.8.10
- Django 3.2.10
To get the project .......
https://github.com/ian-otieno/Django-Gallery.git
cd Picture-Globe pip install -r requirements.txt
- python3 -m venv virtual - source virtual/bin/activate
pip install -r requirements.txt
SetUp your database User,Password, Host then make migrate
python manage.py makemigrations pictures
Now Migrate
python manage.py migrate
python manage.py runserver
python manage.py server
python manage.py test
Open the application on your browser 127.0.0.1:8000
.
No known bugs
- Python3.8
- Django
- Heroku
Email: [email protected]