Skip to content

Commit 2b747bc

Browse files
GigiusBjezdez
andauthored
* Fixes jazzband#113 * Update tox.ini Co-authored-by: Jannis Leidel <[email protected]> Co-authored-by: Jannis Leidel <[email protected]>
1 parent ac86ca5 commit 2b747bc

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.*
2+
!.gitignore
3+
!.coveragerc
14
*.pyc
25
.*.swp
36
MANIFEST

dbtemplates/management/commands/sync_templates.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def handle(self, **options):
7272
for f in [f for f in filenames
7373
if f.endswith(extension) and not f.startswith(".")]:
7474
path = os.path.join(dirpath, f)
75-
name = path.split(templatedir)[1]
75+
name = path.split(str(templatedir))[1]
7676
if name.startswith('/'):
7777
name = name[1:]
7878
try:

tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ envlist =
77
py{35,36}-dj111
88
py{35,36,37}-dj21
99
py{35,36,37,38,39}-dj22
10+
py{36,37,38,39}-dj{30,31}
1011

1112
[gh-actions]
1213
python =
@@ -32,6 +33,8 @@ deps =
3233
dj20: Django<2.1
3334
dj21: Django<2.2
3435
dj22: Django<2.3
36+
dj30: Django<3.1
37+
dj31: Django<3.2
3538
djmain: https://github.com/django/django/archive/main.tar.gz#egg=django
3639

3740
commands =

0 commit comments

Comments
 (0)