diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f575616..299b649 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,4 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - name: Run tests - run: python manage.py test + run: python src/manage.py test diff --git a/pyproject.toml b/pyproject.toml index 7c136c2..f7a8176 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,8 @@ warn_unused_configs = true [tool.ruff] line-length = 160 +exclude = ["**/**/migrations"] + [tool.black] line-length = 160 diff --git a/requirements.txt b/requirements.txt index fc6e18e..d988313 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ fontawesomefree==6.4.0 mysqlclient==2.1.1 django-filter==23.2 django-tailwind==3.6.0 +django-crispy-forms==2.0 diff --git a/src/FOSSDB/urls.py b/src/FOSSDB/urls.py index d575c7c..7a48efe 100644 --- a/src/FOSSDB/urls.py +++ b/src/FOSSDB/urls.py @@ -23,7 +23,6 @@ urlpatterns = [ path("", include("main.urls")), path("", include("account.urls")), path("", include("django.contrib.auth.urls")), - path("__reload__/", include("django_browser_reload.urls")), ] if settings.DEBUG: from django.conf.urls.static import static diff --git a/src/apps/main/admin.py b/src/apps/main/admin.py index 8c38f3f..e69de29 100644 --- a/src/apps/main/admin.py +++ b/src/apps/main/admin.py @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/src/apps/main/models.py b/src/apps/main/models.py index 71a8362..e69de29 100644 --- a/src/apps/main/models.py +++ b/src/apps/main/models.py @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/src/apps/main/tests.py b/src/apps/main/tests.py index 7ce503c..e69de29 100644 --- a/src/apps/main/tests.py +++ b/src/apps/main/tests.py @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here.