Skip to main content

Add your description here

Project description

django-resume

A pluggable framework for managing your resume

Installation

pip install django-resume

Running Tests

pytest

Run mypy

uv run mypy src

Run coverage

coverage run -m pytest
coverage report

Run the javascript tests

npx vitest run

Run end to end tests

Install browsers for playwright:

playwright install

Create a testuser for the e2e tests user, using the password password:

DJANGO_SUPERUSER_USERNAME=playwright \
DJANGO_SUPERUSER_EMAIL=playwright@example.com \
DJANGO_SUPERUSER_PASSWORD=password \
python manage.py createsuperuser --noinput

Start the development server like this to use the playwright settings (mainly setting DEBUG = True to have the static files served by Django):

python manage.py runserver 0.0.0.0:8000 --settings=tests.playwright_settings

The base_url is set via tool.pytest.ini_options in pyproject.toml. Run the tests with:

pytest e2e_tests

Run playwright tests in head-full mode:

pytest e2e_tests --headed --slowmo 1000

Cleanup the test database after running the tests:

python manage.py remove_all_resumes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_resume-0.1.6.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

django_resume-0.1.6-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file django_resume-0.1.6.tar.gz.

File metadata

  • Download URL: django_resume-0.1.6.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.30

File hashes

Hashes for django_resume-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6760d5b21ab71a25d2fa1e3e66746c1226d89dc363ce0a7f0ac42014eb62dfa5
MD5 c961bbaba79e5347a619d75890c7f2ae
BLAKE2b-256 ab0740c53a5e22a38d90455cc420295bf826501b6e36ac21eb26ec88ff57c731

See more details on using hashes here.

File details

Details for the file django_resume-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for django_resume-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 869aedc4f181bfe173d0109c89fb53a4f15145da40008f8488bd9ff7ac1a1cf5
MD5 f4f8a815a8099c163a5194ec28df2c01
BLAKE2b-256 f66aeef3b3dd963685222d93d0894c1b8b1c38e33202e567af6e392bf1df03d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page