VidhanandDhrumi

Our Little World — Django v2

This version keeps the original scrapbook aesthetic but adds a real Django content layer.

Added

First setup

From the folder containing manage.py:

python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Then open:

Important configuration

Edit VidhanDhrumi/settings.py:

RELATIONSHIP_START_DATE = "YYYY-MM-DD"
BIRTHDAY_DATE = "YYYY-MM-DD"
ANNIVERSARY_DATE = "YYYY-MM-DD"

Edit static/relationship/js/countdown.js when you know the next meeting:

window.NEXT_MEETING = "YYYY-MM-DDTHH:MM:SS";

Photos and video

Upload photos from Django Admin for Memories, Milestones and Places.

For the anniversary movie, put:

anniversary-montage.mp4

inside:

static/relationship/videos/

Optional poster:

movie-poster.jpg

inside:

static/relationship/photos/

Seed placeholders

A placeholder fixture is included at:

relationship/initial_data.json

Load it with:

python manage.py loaddata relationship/initial_data.json

You can delete/replace the placeholder records from Admin.

Next privacy step

For a truly private deployed site, add Django authentication/password protection before putting it on the public internet. The current version is a development/private-project build, not a security boundary.

Digital scrapbook book

The /scrapbook/ page is a page-based digital scrapbook designed to grow over time.

The scrapbook uses the existing MEDIA_ROOT/MEDIA_URL setup, so uploaded scrapbook photos are stored under media/scrapbook/.