File tree 6 files changed +6
-24
lines changed
6 files changed +6
-24
lines changed Original file line number Diff line number Diff line change 13
13
max-parallel : 4
14
14
matrix :
15
15
include :
16
- - python-version : " 3.7"
17
- django-version : Django==3.1
18
-
19
- - python-version : " 3.8"
20
- django-version : Django==3.1
21
-
22
- - python-version : " 3.7"
23
- django-version : Django==3.2
24
-
25
- - python-version : " 3.8"
26
- django-version : Django==3.2
27
-
28
- - python-version : " 3.9"
29
- django-version : Django==3.2
30
-
31
- - python-version : " 3.10"
32
- django-version : Django==3.2
33
-
34
16
- python-version : " 3.11"
35
- django-version : Django==3 .2
17
+ django-version : Django==4 .2
36
18
37
19
steps :
38
20
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 11
11
"""
12
12
13
13
import os
14
- from django .utils .translation import ugettext as _
14
+ from django .utils .translation import gettext as _
15
15
16
16
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
17
17
BASE_DIR = os .path .dirname (os .path .dirname (os .path .abspath (__file__ )))
Original file line number Diff line number Diff line change 13
13
1. Import the include() function: from django.conf.urls import url, include
14
14
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
15
15
"""
16
- from django .conf . urls import url , include
16
+ from django .urls import re_path as url , include
17
17
from django .contrib import admin
18
18
19
19
urlpatterns = [
Original file line number Diff line number Diff line change 1
- __version__ = '0.4.8.3 '
1
+ __version__ = '0.5.0 '
2
2
3
3
from django .apps import apps as django_apps
4
4
from fperms .conf import settings
Original file line number Diff line number Diff line change 1
1
from fperms .conf import settings
2
- from django .utils .translation import ugettext_lazy as _
2
+ from django .utils .translation import gettext_lazy as _
3
3
4
4
5
5
PERM_CODENAME_ADD = 'add'
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def get_version(*file_paths):
56
56
],
57
57
include_package_data = True ,
58
58
install_requires = [
59
- "django>=2 .2.15 " ,
59
+ "django>=4 .2.0 " ,
60
60
],
61
61
license = "MIT" ,
62
62
zip_safe = False ,
You can’t perform that action at this time.
0 commit comments