Lab Review — marketing agency website

The portfolio and service catalogue of an agency doing SEO, Yandex Direct, Avito ads and web development. Cases, team and services are managed in the admin without a developer.

RoleSole full-stack developer: content model and architecture, backend and admin, data import, integrations, SEO, frontend and deployment
StackPython 3.14 · Django 6 · SQLite · vanilla JS — the only dependencies are django-nested-admin and Pillow
Site languageRussian

In short — if you are not a developer

What the site is

Lab Review is a marketing agency: SEO, advertising on Yandex Direct and Avito, website development. Its site is the agency’s shop window: case studies with result figures, service pages with pricing and the team, request forms.

The key requirement was not about looks but about who would run the site. New case studies keep coming and the team changes — and the agency had to handle all of that itself, without calling a developer. So the site is built as a system managed entirely from the admin panel.

What the site does

  • A case page is built like a constructor: intro text, the task, results in figures, the team, a call to action — blocks in any order, each one can be hidden.
  • Cases are loaded from a Google Sheet with one click. A manager keeps the spreadsheet as usual, and the site turns a row into a finished page with images, tags and the team. Loading again updates the case instead of creating a copy.
  • 12 service pages: pricing, what is included, work steps, team, questions and answers, related services.
  • One team for the whole site. An employee is added once and appears both in case studies and on service pages.
  • Requests arrive in Telegram — from the pop-up form, service pages and contacts.
  • Cases can be searched and filtered by direction, industry and tags.

What it gives the agency

  • A new case goes live without a developer — in the time it takes to fill in a spreadsheet row.
  • Ready for search: the sitemap builds itself, every case has its own title and description for search engines, and old URLs redirect to the new ones.
  • Search results stay clean: technical web-development cases are closed from indexing.
  • Comfortable on a phone: responsive layout, an accordion menu, case images open full screen.

In depth — for developers

Stack

  • Backend: Python 3.14, Django 6.0, SQLite.
  • Minimal dependencies: django-nested-admin (nested inlines in the admin) and Pillow (image processing).
  • Frontend without frameworks: semantic HTML, CSS on custom properties (design tokens), vanilla JavaScript, inline SVG icons.
  • Integrations: Google Sheets API (case import), Telegram Bot API (requests), Yandex Metrica.
  • Deployment: Beget, Passenger and WSGI, git pull with a restart, collectstatic; secrets in .env via python-dotenv.

Architecture

  • Two Django apps with clear responsibilities: cases — case studies, the content builder, admin, spreadsheet import, sitemap; services — 12 service landing pages, request handling, the home page.
  • Employees live in a single Employee model and are reused both in the case “Team” block and on service pages — no duplicated data.

Case page builder

  • A case page is an arbitrary sequence of blocks (the CaseBlock model), 7 types: intro text, “task + summary”, a task grid, a two-column block, results with figures, team, CTA.
  • Order and visibility of every block are managed separately; each type has its own child items through nested inlines.
  • Irrelevant fields in the admin are hidden dynamically depending on the block type — custom JS.

Two-mode admin on proxy models

  • Cases are physically stored in one table but split into two admin sections through proxy models.
  • Web development cases — an image feed, their own page template, excluded from the sitemap and noindex.
  • Avito, SEO and Direct cases — the full block and metrics builder.
  • Each section imports from its own Google Sheet, and the direction is set automatically.

Case import from Google Sheets

  • A custom management command pulls data through the Google Sheets API and expands a spreadsheet row into a full case with all blocks, metrics, tags and team.
  • Idempotency: update_or_create by slug — a repeated import updates instead of creating duplicates.
  • Image cache: images are downloaded by URL into media, the file name is the MD5 of the URL, and files already downloaded are not fetched again.
  • Resilience: every row is imported in its own transaction — a failure on one case does not break the rest.
  • Separate log: import progress and tracebacks go to their own file.
  • Tags are created automatically with unique slugs, and employees are linked to the shared base. It runs from a button in the admin via call_command or from the console.

Requests, services, search

  • Requests to Telegram: forms send data via AJAX to a server endpoint that forwards it through the Bot API using the standard library (urllib), with no third-party HTTP clients. On the frontend — a phone mask, validation, a character counter, an auto-growing text field.
  • Service pages use one base template with overridable blocks: hero, pricing, “what is included”, steps, team, FAQ, recommended services, CTA. The team on a page is set through an intermediate model with ordering; if it is not set, all employees are shown.
  • Filters by direction, industry and tags are built dynamically from the selected direction.
  • Working around SQLite: icontains is case-sensitive for Cyrillic there, so case-insensitive search is done by trying the case variants.

SEO and interface

  • An automatic sitemap.xml of published cases and static pages, excluding technical cases and Avito services.
  • meta_title and meta_description on every case with a fallback to the main title and description; human-readable Unicode slugs.
  • A set of 301 redirects from old URLs to new ones; noindex for technical cases; custom 404, 403 and 500 pages.
  • A fixed header with a services mega menu that hides on scroll; a mobile accordion menu, a lightbox for images, a cookie banner.

What next

Other work is in the portfolio on the home page. If you need a similar site, timelines and price ranges are on the how much a website costs page.