Skip to content

Commit 93e8304

Browse files
committed
update to Django=1.10.6. Compatible with Python 3.6
Major update of template.
1 parent 1dfb08f commit 93e8304

File tree

32 files changed

+254
-168
lines changed

32 files changed

+254
-168
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

.eslintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ globals:
2323
global: true
2424
__dirname: true
2525
$: false
26+
flexibility: false
27+
$clamp: false
2628

2729
rules:
2830
arrow-parens: [1, "as-needed"]
@@ -82,7 +84,6 @@ rules:
8284
no-else-return: 2
8385
no-empty: 2
8486
no-empty-character-class: 2
85-
no-empty-label: 2
8687
no-eq-null: 2
8788
no-eval: 2
8889
no-ex-assign: 2
@@ -175,12 +176,11 @@ rules:
175176
semi: [2, "always"]
176177
semi-spacing: [2, {"before": false, "after": true}]
177178
sort-vars: 0
178-
space-after-keywords: [2, "always"]
179+
keyword-spacing: [2, {"before": true, "after": true}]
179180
space-before-blocks: [2, "always"]
180181
space-before-function-paren: [2, {"anonymous": "always", "named": "never"}]
181182
space-in-parens: 0
182183
space-infix-ops: 2
183-
space-return-throw-case: 2
184184
space-unary-ops: [2, { "words": true, "nonwords": false }]
185185
spaced-comment: [1, "always"]
186186
use-isnan: 2

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ __pycache__/
66
.env
77
node_modules/
88
media/
9-
*.sublime-workspace
109
settings/local_settings.py
10+
db.sqlite3

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
It's very simple start point for django project.
44

5-
For `Django == 1.10.3`
5+
For `Django == 1.10.6` compatible with Python 2.7 & 3.6
66

77
## Install
88

@@ -36,7 +36,7 @@ Recommend installation virtualenv in `.env` folder in project folder.
3636
---/main - start app point that I offer for you
3737
/frontend - folder for source "frontend" files
3838
---/images - gulp tasks look at this folder, files get->optimize->put to `/static/images/`
39-
---/scripts - gulp tasks look at this folder, files get->minify->concatenate->put to `/static/scripts/base.js`
39+
---/scripts - gulp tasks look at this folder, files get->minify->put to `/static/scripts/`
4040
---/styles - gulp tasks look at this folder, get _common.styl->optimize->put to `/static/styles/base.css`
4141
/requirements - requirements for current project
4242
/settings - django settings

applications/frontend/admin.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

applications/frontend/migrations/__init__.py

Whitespace-only changes.

applications/frontend/models.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

applications/frontend/templates/test.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

applications/frontend/tests.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

applications/frontend/urls.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)