Self hosted FLOSS fitness/workout, nutrition and weight tracker
Test for correct python version
Roland Geider301323099789
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 84577816d..0eb5d5560 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -65,13 +65,13 @@ jobs:wger create-settings --database-type postgresqlcoverage run --source='.' ./manage.py testcoverage lcov- if: matrix.python-version == 3.8+ if: matrix.python-version == 3.10- name: Test the application (Postgres)run: |wger create-settings --database-type postgresqlpython manage.py test- if: matrix.python-version != 3.8+ if: matrix.python-version != 3.10# - name: Test the application (Sqlite)# run: |@@ -85,4 +85,4 @@ jobs:with:github-token: ${{ secrets.GITHUB_TOKEN }}path-to-lcov: coverage.lcov- if: matrix.python-version == 3.8+ if: matrix.python-version == 3.10diff --git a/wger/urls.py b/wger/urls.pyindex b7e9fcd24..50bef1e5a 100644--- a/wger/urls.py+++ b/wger/urls.py@@ -237,7 +237,9 @@ urlpatterns += [# The api user loginpath(- 'api/v2/login/', core_api_views.UserAPILoginView.as_view({'post': 'post'}), name='api_user'+ 'api/v2/login/',+ core_api_views.UserAPILoginView.as_view({'post': 'post'}),+ name='api_user'),path('api/v2/register/',