parent
							
								
									7797387d91
								
							
						
					
					
						commit
						5e6adff80e
					
				| @ -0,0 +1,8 @@ | ||||
| asgiref==3.7.2 | ||||
| crispy-tailwind==0.5.0 | ||||
| Django==4.2.3 | ||||
| django-crispy-forms==2.0 | ||||
| django-tailwind==3.6.0 | ||||
| python-dotenv==1.0.0 | ||||
| sqlparse==0.4.4 | ||||
| typing_extensions==4.7.1 | ||||
| @ -1,8 +1,12 @@ | ||||
| from django.contrib import admin | ||||
| from django.urls import include, path | ||||
| from .settings import DEBUG | ||||
| 
 | ||||
| urlpatterns = [ | ||||
|     path('', include('tasks.urls')), | ||||
|     path("admin/", admin.site.urls), | ||||
| ] | ||||
| 
 | ||||
| if DEBUG: | ||||
|     urlpatterns.append(path("__reload__/", include("django_browser_reload.urls"))) | ||||
| 
 | ||||
|  | ||||
| @ -0,0 +1 @@ | ||||
| node_modules | ||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								| @ -0,0 +1,29 @@ | ||||
| { | ||||
|   "name": "tasks", | ||||
|   "version": "3.6.0", | ||||
|   "description": "", | ||||
|   "scripts": { | ||||
|     "start": "npm run dev", | ||||
|     "build": "npm run build:clean && npm run build:tailwind", | ||||
|     "build:clean": "rimraf ../static/css/dist", | ||||
|     "build:tailwind": "cross-env NODE_ENV=production tailwindcss --postcss -i ./src/styles.css -o ../static/css/dist/styles.css --minify", | ||||
|     "dev": "cross-env NODE_ENV=development tailwindcss --postcss -i ./src/styles.css -o ../static/css/dist/styles.css -w", | ||||
|     "tailwindcss": "node ./node_modules/tailwindcss/lib/cli.js" | ||||
|   }, | ||||
|   "keywords": [], | ||||
|   "author": "", | ||||
|   "license": "MIT", | ||||
|   "devDependencies": { | ||||
|     "@tailwindcss/aspect-ratio": "^0.4.2", | ||||
|     "@tailwindcss/forms": "^0.5.3", | ||||
|     "@tailwindcss/line-clamp": "^0.4.4", | ||||
|     "@tailwindcss/typography": "^0.5.9", | ||||
|     "cross-env": "^7.0.3", | ||||
|     "postcss": "^8.4.24", | ||||
|     "postcss-import": "^15.1.0", | ||||
|     "postcss-nested": "^6.0.1", | ||||
|     "postcss-simple-vars": "^7.0.1", | ||||
|     "rimraf": "^5.0.1", | ||||
|     "tailwindcss": "^3.3.2" | ||||
|   } | ||||
| } | ||||
| @ -0,0 +1,7 @@ | ||||
| module.exports = { | ||||
|   plugins: { | ||||
|     "postcss-import": {}, | ||||
|     "postcss-simple-vars": {}, | ||||
|     "postcss-nested": {} | ||||
|   }, | ||||
| } | ||||
| @ -0,0 +1,3 @@ | ||||
| @tailwind base; | ||||
| @tailwind components; | ||||
| @tailwind utilities; | ||||
| @ -0,0 +1,58 @@ | ||||
| /** | ||||
|  * This is a minimal config. | ||||
|  * | ||||
|  * If you need the full config, get it from here: | ||||
|  * https://unpkg.com/browse/tailwindcss@latest/stubs/defaultConfig.stub.js
 | ||||
|  */ | ||||
| 
 | ||||
| module.exports = { | ||||
|     content: [ | ||||
|         /** | ||||
|          * HTML. Paths to Django template files that will contain Tailwind CSS classes. | ||||
|          */ | ||||
| 
 | ||||
|         /*  Templates within theme app (<tailwind_app_name>/templates), e.g. base.html. */ | ||||
|         '../../templates/**/*.html', | ||||
| 
 | ||||
|         /* | ||||
|          * Main templates directory of the project (BASE_DIR/templates). | ||||
|          * Adjust the following line to match your project structure. | ||||
|          */ | ||||
|         '../../../templates/**/*.html', | ||||
| 
 | ||||
|         /* | ||||
|          * Templates in other django apps (BASE_DIR/<any_app_name>/templates). | ||||
|          * Adjust the following line to match your project structure. | ||||
|          */ | ||||
|         '../../../**/templates/**/*.html', | ||||
| 
 | ||||
|         /** | ||||
|          * JS: If you use Tailwind CSS in JavaScript, uncomment the following lines and make sure | ||||
|          * patterns match your project structure. | ||||
|          */ | ||||
|         /* JS 1: Ignore any JavaScript in node_modules folder. */ | ||||
|         // '!../../**/node_modules',
 | ||||
|         /* JS 2: Process all JavaScript files in the project. */ | ||||
|         // '../../**/*.js',
 | ||||
| 
 | ||||
|         /** | ||||
|          * Python: If you use Tailwind CSS classes in Python, uncomment the following line | ||||
|          * and make sure the pattern below matches your project structure. | ||||
|          */ | ||||
|         // '../../**/*.py'
 | ||||
|     ], | ||||
|     theme: { | ||||
|         extend: {}, | ||||
|     }, | ||||
|     plugins: [ | ||||
|         /** | ||||
|          * '@tailwindcss/forms' is the forms plugin that provides a minimal styling | ||||
|          * for forms. If you don't like it or have own styling for forms, | ||||
|          * comment the line below to disable '@tailwindcss/forms'. | ||||
|          */ | ||||
|         require('@tailwindcss/forms'), | ||||
|         require('@tailwindcss/typography'), | ||||
|         require('@tailwindcss/line-clamp'), | ||||
|         require('@tailwindcss/aspect-ratio'), | ||||
|     ], | ||||
| } | ||||
					Loading…
					
					
				
		Reference in new issue