django-parlor

Django model translations with even less nasty hacks.
git clone https://git.ce9e.org/django-parlor.git

commit
8b74613d22aaacdbcd23251dee2f7fe3a4439032
parent
4616759b88ec02267b853ba776bb11a3db2f5a40
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-08-07 07:08
lint tests

Diffstat

M .github/workflows/main.yml 2 +-
M tests/models.py 2 --
M tests/settings.py 2 --

3 files changed, 1 insertions, 5 deletions


diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml

@@ -8,7 +8,7 @@ jobs:
    8     8     - run: pip install ruff
    9     9     - name: linters
   10    10       run: |
   11    -1         ruff check parlor
   -1    11         ruff check parlor tests
   12    12   test:
   13    13     runs-on: ubuntu-latest
   14    14     strategy:

diff --git a/tests/models.py b/tests/models.py

@@ -1,7 +1,5 @@
    1    -1 from django.contrib import admin
    2     1 from django.db import models
    3     2 
    4    -1 from parlor.admin import TranslatableAdmin
    5     3 from parlor.models import TranslatableModel
    6     4 
    7     5 

diff --git a/tests/settings.py b/tests/settings.py

@@ -1,5 +1,3 @@
    1    -1 SECRET_KEY = "fake-key"
    2    -1 
    3     1 DATABASES = {
    4     2     'default': {
    5     3         'ENGINE': 'django.db.backends.sqlite3',