Your existing design, now connected to a Django backend.
/admin/) to edit your profile and phone/email/social links, skills, projects, services, gallery images, and to read contact messages. No HTML editing needed./quote/): service, budget, deadline and details. Saved in the admin under Quote requests (with a status you can change) and emailed to you. Each service card links to it with the service preselected./blog/): write posts in the admin under Blog posts (plain text, blank line = new paragraph, optional cover image and YouTube link). The latest 3 show on the home page.UC, found in YouTube Studio > Settings > Channel > Advanced settings). The latest 3 videos then show on the home page. No API key is needed. If it is empty or YouTube is unreachable, the section is simply hidden./analytics/) for page views, top pages, CV downloads, unread messages, new quotes and subscribers. Staff, bots and admin pages are not counted, and no IP addresses are stored for page views.All forms use the same protection: CSRF, server-side validation, a honeypot field, per-IP rate limiting and (optional) Turnstile.
python -m venv venv
venv\Scripts\activate # Windows (Mac/Linux: source venv/bin/activate)
pip install -r requirements.txt
python manage.py migrate
python manage.py seed_data # loads your current projects, skills, services
python manage.py createsuperuser # your admin login
python manage.py runserver
Open http://127.0.0.1:8000/ and http://127.0.0.1:8000/admin/
Images: copy your img folder files into static/img/ (see the note in that folder).
Without settings, emails are printed in the terminal (development). To receive real emails, set
EMAIL_HOST_USER and EMAIL_HOST_PASSWORD (a Gmail App Password, not your normal password) - see .env.example.
Messages are always saved in the admin even if email fails.
Create a Cloudflare Turnstile widget, then set TURNSTILE_SITE_KEY and TURNSTILE_SECRET_KEY.
The verification box then appears on the form and is checked on the server.
.env.example (DJANGO_DEBUG=False, a real DJANGO_SECRET_KEY, your domain in DJANGO_ALLOWED_HOSTS).pip install -r requirements.txt && python manage.py collectstatic --noinput && python manage.py migrategunicorn config.wsgiDB_ENGINE=postgres and the DB_* variables (also pip install psycopg[binary]).python manage.py test