fixed vue cli pwa version and admin comment search
This commit is contained in:
parent
a0610ac05f
commit
7bed9963ff
@ -237,7 +237,7 @@ admin.site.register(Ingredient, IngredientAdmin)
|
|||||||
|
|
||||||
class CommentAdmin(admin.ModelAdmin):
|
class CommentAdmin(admin.ModelAdmin):
|
||||||
list_display = ('recipe', 'name', 'created_at')
|
list_display = ('recipe', 'name', 'created_at')
|
||||||
search_fields = ('text', 'user__username')
|
search_fields = ('text', 'created_by__username')
|
||||||
date_hierarchy = 'created_at'
|
date_hierarchy = 'created_at'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
167
vue/package.json
167
vue/package.json
@ -1,88 +1,89 @@
|
|||||||
{
|
{
|
||||||
"name": "vue",
|
"name": "vue",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint"
|
"lint": "vue-cli-service lint"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/eslint-parser": "^7.16.0",
|
||||||
|
"@kangc/v-md-editor": "^1.7.7",
|
||||||
|
"@kevinfaguiar/vue-twemoji-picker": "^5.7.4",
|
||||||
|
"@popperjs/core": "^2.11.2",
|
||||||
|
"@riophae/vue-treeselect": "^0.4.0",
|
||||||
|
"@vue/cli": "^5.0.4",
|
||||||
|
"axios": "^0.26.1",
|
||||||
|
"bootstrap-vue": "^2.21.2",
|
||||||
|
"core-js": "^3.20.3",
|
||||||
|
"html2pdf.js": "^0.10.1",
|
||||||
|
"lodash": "^4.17.21",
|
||||||
|
"moment": "^2.29.1",
|
||||||
|
"prismjs": "^1.27.0",
|
||||||
|
"vue": "^2.6.14",
|
||||||
|
"vue-class-component": "^7.2.3",
|
||||||
|
"vue-click-outside": "^1.1.0",
|
||||||
|
"vue-clickaway": "^2.2.2",
|
||||||
|
"vue-cookies": "^1.7.4",
|
||||||
|
"vue-i18n": "^8.26.8",
|
||||||
|
"vue-infinite-loading": "^2.4.5",
|
||||||
|
"vue-multiselect": "^2.1.6",
|
||||||
|
"vue-property-decorator": "^9.1.2",
|
||||||
|
"vue-simple-calendar": "^5.0.1",
|
||||||
|
"vue-template-compiler": "^2.6.14",
|
||||||
|
"vue2-touch-events": "^3.2.2",
|
||||||
|
"vuedraggable": "^2.24.3",
|
||||||
|
"vuex": "^3.6.0",
|
||||||
|
"workbox-webpack-plugin": "^6.3.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@kazupon/vue-i18n-loader": "^0.5.0",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||||
|
"@typescript-eslint/parser": "^4.32.0",
|
||||||
|
"@vue/cli-plugin-babel": "~4.5.13",
|
||||||
|
"@vue/cli-plugin-eslint": "~5.0.4",
|
||||||
|
"@vue/cli-plugin-pwa": "~4.5.13",
|
||||||
|
"@vue/cli-plugin-typescript": "^4.5.15",
|
||||||
|
"@vue/cli-service": "~4.5.15",
|
||||||
|
"@vue/compiler-sfc": "^3.2.29",
|
||||||
|
"@vue/eslint-config-typescript": "^10.0.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.28.0",
|
||||||
|
"eslint-plugin-vue": "^8.0.3",
|
||||||
|
"typescript": "~4.5.5",
|
||||||
|
"vue-cli-plugin-i18n": "^2.1.1",
|
||||||
|
"webpack-bundle-tracker": "1.4.0",
|
||||||
|
"workbox-expiration": "^6.3.0",
|
||||||
|
"workbox-navigation-preload": "^6.0.2",
|
||||||
|
"workbox-precaching": "^6.3.0",
|
||||||
|
"workbox-routing": "^6.5.0",
|
||||||
|
"workbox-strategies": "^6.2.4"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"root": true,
|
||||||
|
"env": {
|
||||||
|
"node": true
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"extends": [
|
||||||
"@babel/eslint-parser": "^7.16.0",
|
"plugin:vue/vue3-essential",
|
||||||
"@kangc/v-md-editor": "^1.7.7",
|
"eslint:recommended",
|
||||||
"@kevinfaguiar/vue-twemoji-picker": "^5.7.4",
|
"@vue/typescript"
|
||||||
"@popperjs/core": "^2.11.2",
|
|
||||||
"@riophae/vue-treeselect": "^0.4.0",
|
|
||||||
"axios": "^0.26.1",
|
|
||||||
"bootstrap-vue": "^2.21.2",
|
|
||||||
"core-js": "^3.20.3",
|
|
||||||
"html2pdf.js": "^0.10.1",
|
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"moment": "^2.29.1",
|
|
||||||
"prismjs": "^1.27.0",
|
|
||||||
"vue": "^2.6.14",
|
|
||||||
"vue-class-component": "^7.2.3",
|
|
||||||
"vue-click-outside": "^1.1.0",
|
|
||||||
"vue-clickaway": "^2.2.2",
|
|
||||||
"vue-cookies": "^1.7.4",
|
|
||||||
"vue-i18n": "^8.26.8",
|
|
||||||
"vue-infinite-loading": "^2.4.5",
|
|
||||||
"vue-multiselect": "^2.1.6",
|
|
||||||
"vue-property-decorator": "^9.1.2",
|
|
||||||
"vue-simple-calendar": "^5.0.1",
|
|
||||||
"vue-template-compiler": "^2.6.14",
|
|
||||||
"vue2-touch-events": "^3.2.2",
|
|
||||||
"vuedraggable": "^2.24.3",
|
|
||||||
"vuex": "^3.6.0",
|
|
||||||
"workbox-webpack-plugin": "^6.3.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@kazupon/vue-i18n-loader": "^0.5.0",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
||||||
"@typescript-eslint/parser": "^4.32.0",
|
|
||||||
"@vue/cli-plugin-babel": "~4.5.13",
|
|
||||||
"@vue/cli-plugin-eslint": "~5.0.4",
|
|
||||||
"@vue/cli-plugin-pwa": "~5.0.1",
|
|
||||||
"@vue/cli-plugin-typescript": "^4.5.15",
|
|
||||||
"@vue/cli-service": "~4.5.15",
|
|
||||||
"@vue/compiler-sfc": "^3.2.29",
|
|
||||||
"@vue/eslint-config-typescript": "^10.0.0",
|
|
||||||
"babel-eslint": "^10.1.0",
|
|
||||||
"eslint": "^7.28.0",
|
|
||||||
"eslint-plugin-vue": "^8.0.3",
|
|
||||||
"typescript": "~4.5.5",
|
|
||||||
"vue-cli-plugin-i18n": "^2.1.1",
|
|
||||||
"webpack-bundle-tracker": "1.4.0",
|
|
||||||
"workbox-expiration": "^6.3.0",
|
|
||||||
"workbox-navigation-preload": "^6.0.2",
|
|
||||||
"workbox-precaching": "^6.3.0",
|
|
||||||
"workbox-routing": "^6.5.0",
|
|
||||||
"workbox-strategies": "^6.2.4"
|
|
||||||
},
|
|
||||||
"eslintConfig": {
|
|
||||||
"root": true,
|
|
||||||
"env": {
|
|
||||||
"node": true
|
|
||||||
},
|
|
||||||
"extends": [
|
|
||||||
"plugin:vue/vue3-essential",
|
|
||||||
"eslint:recommended",
|
|
||||||
"@vue/typescript"
|
|
||||||
],
|
|
||||||
"parserOptions": {
|
|
||||||
"parser": "@typescript-eslint/parser"
|
|
||||||
},
|
|
||||||
"rules": {
|
|
||||||
"no-unused-vars": "off"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"browserslist": [
|
|
||||||
"> 1%",
|
|
||||||
"last 2 versions",
|
|
||||||
"not dead"
|
|
||||||
],
|
],
|
||||||
"resolutions": {
|
"parserOptions": {
|
||||||
"@vue/cli-plugin-pwa/workbox-webpack-plugin": "^5.1.3",
|
"parser": "@typescript-eslint/parser"
|
||||||
"coa": "2.0.2"
|
},
|
||||||
|
"rules": {
|
||||||
|
"no-unused-vars": "off"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"> 1%",
|
||||||
|
"last 2 versions",
|
||||||
|
"not dead"
|
||||||
|
],
|
||||||
|
"resolutions": {
|
||||||
|
"@vue/cli-plugin-pwa/workbox-webpack-plugin": "^5.1.3",
|
||||||
|
"coa": "2.0.2"
|
||||||
|
}
|
||||||
}
|
}
|
11870
vue/yarn.lock
11870
vue/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user