CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-labs/django-best-practices

Django patterns -- custom user model, project structure, models, views, URL routing, select_related/prefetch_related, signals vs save(), middleware, settings splitting, custom managers, management commands

92

1.63x
Quality

87%

Does it follow best practices?

Impact

100%

1.63x

Average score across 5 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-4/

Project Task Tracker

Problem/Feature Description

Build a project task tracker with Django. Teams use it to organize work into projects and tasks. The dashboard shows all projects a user belongs to with task counts. Each project page lists its tasks with assignee names and status.

Requirements:

  1. Users can register and be added to projects as members
  2. Projects have a name, description, and an owner (the creator)
  3. Tasks belong to a project and have a title, description, priority (low, medium, high, critical), status (todo, in_progress, in_review, done), and an assignee
  4. The user dashboard at /dashboard/ shows all projects the user is a member of, with the count of open tasks per project and the project owner's name
  5. A project detail page at /projects/<slug>/ shows project info, members, and all tasks with assignee names and statuses
  6. Users can create tasks within a project and update task status
  7. A project page also shows overdue tasks (tasks marked in_progress for more than 7 days)
  8. An auto-generated slug from the project title when creating a project

Output Specification

Produce Python source files in a tracker/ directory:

  • Settings configuration
  • URL configuration
  • App files with models, views, urls, forms, admin
  • Templates directory
  • manage.py

Do not run migrations or start the server.

evals

tile.json