diff --git a/core/settings.py b/core/settings.py index 9ceb9d2..89d63cf 100644 --- a/core/settings.py +++ b/core/settings.py @@ -47,6 +47,7 @@ INSTALLED_APPS = [ # 1st Party 'theme', 'users', + 'vehicles' ] MIDDLEWARE = [ diff --git a/core/urls.py b/core/urls.py index a00de6e..dfd476d 100644 --- a/core/urls.py +++ b/core/urls.py @@ -3,6 +3,7 @@ from django.urls import path from django.conf.urls import include urlpatterns = [ - path('', include('users.urls')), + path('user/', include('users.urls')), + path('vehicles/', include('vehicles.urls')), path('admin/', admin.site.urls), ] diff --git a/theme/static_src/postcss.config.js b/theme/static_src/postcss.config.js index eade1bb..33ad091 100644 --- a/theme/static_src/postcss.config.js +++ b/theme/static_src/postcss.config.js @@ -3,10 +3,4 @@ module.exports = { tailwindcss: {}, autoprefixer: {}, }, - purge: [ - // Templates within theme app (e.g. base.html) - '../templates/**/*.html', - // Templates in other apps - '../../templates/**/*.html', - ], } diff --git a/theme/static_src/tailwind.config.js b/theme/static_src/tailwind.config.js index ae7e1cc..bca306b 100644 --- a/theme/static_src/tailwind.config.js +++ b/theme/static_src/tailwind.config.js @@ -7,9 +7,9 @@ module.exports = { '../templates/**/*.html', // Templates in other apps. Uncomment the following line if it matches // your project structure or change it to match. - // '../../templates/**/*.html', + '../../templates/**/*.html', ], - darkMode: false, // or 'media' or 'class' + darkMode: 'media', theme: { extend: {}, }, diff --git a/theme/templates/base.html b/theme/templates/base.html index 7be097d..0b38212 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -6,7 +6,7 @@ -