Commit graph

3 commits

Author SHA1 Message Date
6b3fce5684 Add basic template and design system
- implement base template and home page template
- add a rudimentary cats.css
- add CAcert logo and favicon resources
- use template in home page view
2024-09-20 13:06:43 +02:00
3f4e005cf3 Implement client certificate authentication
- add a cats.authentication.ClientCertificateBackend authentication
  backend implementation that extracts the used fields from a client
  certificate
- configure the AUTHENTICATION_BACKENDS setting to use the
  ClientCertificateBackend
- add cryptography dependency to parse certificate data
- add gunicorn as production dependency
- add a development configuration for Gunicorn
- document how to pass client certificate information via nginx reverse
  proxy
- add a certificate_login view and a basic home_page view and add
  corresponding URL patterns
- ignore PEM encoded files and temporary gunicorn files
2024-09-20 12:42:44 +02:00
77464ecee4 Add generated cats app
- generated app by running python3 manage.py startapp cats
- add cats to INSTALLED_APPS in django_cats/settings.py
- generated model by running python3 manage.py inspectdb >
  cats/models.py
- generated migration by running python3 manage.py makemigrations -n
  "models_created_by_inspectdb" cats
2024-09-18 18:20:59 +02:00