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.8.tar.gz (10.2 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_resume-0.1.8.tar.gz
Algorithm Hash digest
SHA256 1e7aac57f5062ed38e6a1cee70ea3d0f6ee28977d180c1f5aabeddc05ccdb562
MD5 ae2f704c15d515873483c68216411cdf
BLAKE2b-256 99de5214e25b83740db9cf17f0c34a67cb6c53ba3d0e66dcb64515d219f6169b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_resume-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b7f679fbbbd7145155cca716fdbb39b1ac9cc843dcd599f13d06a771acead2dd
MD5 792b56f695f346f317bbb9100d7bb50c
BLAKE2b-256 da93d43f14646bfb3f91fabe5ad17b84d231ce3aab49b8254cc5a78bb607bb86

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