-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to Django 2.2. Update dependencies for django 2.2 compatibility * Fix Github Action PostgreSQL config
- Loading branch information
Showing
91 changed files
with
483 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'banners.apps.BannersAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class BannersAppConfig(AppConfig): | ||
|
||
name = 'banners' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,49 @@ | ||
dj-database-url==0.5.0 | ||
django-pipeline==1.6.14 | ||
django-sitetree==1.10.0 | ||
Django==2.0.13 | ||
django-pipeline==2.0.6 | ||
django-sitetree==1.17.0 | ||
Django==2.2.24 | ||
docutils==0.12 | ||
Markdown==3.3.4 | ||
cmarkgfm==0.4.2 | ||
cmarkgfm==0.6.0 | ||
Pillow==8.3.1 | ||
psycopg2==2.8.6 | ||
python3-openid==3.1.0 | ||
python3-openid==3.2.0 | ||
python-decouple==3.4 | ||
# lxml used by BeautifulSoup. | ||
lxml==4.6.3 | ||
cssselect==0.9.1 | ||
cssselect==1.1.0 | ||
feedparser==6.0.8 | ||
beautifulsoup4==4.6.0 | ||
icalendar==3.8.4 | ||
beautifulsoup4==4.9.3 | ||
icalendar==4.0.7 | ||
chardet==4.0.0 | ||
# TODO: We may drop 'django-imagekit' completely. | ||
django-imagekit==4.0.2 | ||
git+https://github.com/django-haystack/django-haystack.git@802b0f6f4b3b99314453261876a32bac2bbec94f | ||
django-haystack==3.0 | ||
elasticsearch>=5,<6 | ||
# TODO: 0.14.0 only supports Django 1.8 and 1.11. | ||
django-tastypie==0.14.1 | ||
django-tastypie==0.14.3 | ||
|
||
pytz==2017.2 | ||
python-dateutil==2.8.1 | ||
pytz==2021.1 | ||
python-dateutil==2.8.2 | ||
|
||
requests[security]>=2.26.0 | ||
|
||
django-honeypot==0.6.0 | ||
django-markupfield==1.4.3 | ||
django-honeypot==1.0.1 | ||
django-markupfield==2.0.0 | ||
django-markupfield-helpers==0.1.1 | ||
|
||
django-allauth==0.41.0 | ||
|
||
django-waffle==0.14 | ||
django-waffle==2.2.1 | ||
|
||
djangorestframework==3.8.2 | ||
django-filter==1.1.0 | ||
djangorestframework==3.12.2 | ||
django-filter==2.4.0 | ||
django-ordered-model==3.4.3 | ||
django-widget-tweaks==1.4.8 | ||
django-countries==6.1.3 | ||
django-countries==7.2.1 | ||
xhtml2pdf==0.2.5 | ||
django-easy-pdf==0.1.1 | ||
django-easy-pdf3==0.1.2 | ||
num2words==0.5.10 | ||
django-polymorphic==2.1.2 | ||
django-polymorphic==3.0.0 | ||
sorl-thumbnail==12.7.0 | ||
docxtpl==0.12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'blogs.apps.BlogsAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class BlogsAppConfig(AppConfig): | ||
|
||
name = 'blogs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
from django.conf.urls import url | ||
|
||
from . import views | ||
from django.urls import path | ||
|
||
urlpatterns = [ | ||
url(r'^$', views.BlogHome.as_view(), name='blog'), | ||
path('', views.BlogHome.as_view(), name='blog'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'boxes.apps.BoxesAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class BoxesAppConfig(AppConfig): | ||
|
||
name = 'boxes' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
from django.conf.urls import url | ||
|
||
from .views import box | ||
from django.urls import path | ||
|
||
urlpatterns = [ | ||
url(r'(?P<label>[\w-]+)/$', box, name='box'), | ||
path('<slug:label>/', box, name='box'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'cms.apps.CmsAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CmsAppConfig(AppConfig): | ||
|
||
name = 'cms' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'codesamples.apps.CodesamplesAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CodesamplesAppConfig(AppConfig): | ||
|
||
name = 'codesamples' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'community.apps.CommunityAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CommunityAppConfig(AppConfig): | ||
|
||
name = 'community' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
from django.conf.urls import url | ||
|
||
from . import views | ||
from django.urls import path | ||
|
||
app_name = 'community' | ||
urlpatterns = [ | ||
url(r'^$', views.PostList.as_view(), name='post_list'), | ||
url(r'^(?P<pk>\d+)/$', views.PostDetail.as_view(), name='post_detail'), | ||
path('', views.PostList.as_view(), name='post_list'), | ||
path('<int:pk>/', views.PostDetail.as_view(), name='post_detail'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'companies.apps.CompaniesAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CompaniesAppConfig(AppConfig): | ||
|
||
name = 'companies' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default_app_config = 'downloads.apps.DownloadsAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class DownloadsAppConfig(AppConfig): | ||
|
||
name = 'downloads' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from django.conf.urls import url | ||
from . import views | ||
from django.urls import path, re_path | ||
|
||
app_name = 'downloads' | ||
urlpatterns = [ | ||
url(r'latest/python2/?$', views.DownloadLatestPython2.as_view(), name='download_latest_python2'), | ||
url(r'latest/python3/?$', views.DownloadLatestPython3.as_view(), name='download_latest_python3'), | ||
url(r'operating-systems/$', views.DownloadFullOSList.as_view(), name='download_full_os_list'), | ||
url(r'release/(?P<release_slug>[-_\w]+)/$', views.DownloadReleaseDetail.as_view(), name='download_release_detail'), | ||
url(r'(?P<slug>[-_\w]+)/$', views.DownloadOSList.as_view(), name='download_os_list'), | ||
url(r'$', views.DownloadHome.as_view(), name='download'), | ||
re_path(r'latest/python2/?$', views.DownloadLatestPython2.as_view(), name='download_latest_python2'), | ||
re_path(r'latest/python3/?$', views.DownloadLatestPython3.as_view(), name='download_latest_python3'), | ||
path('operating-systems/', views.DownloadFullOSList.as_view(), name='download_full_os_list'), | ||
path('release/<slug:release_slug>/', views.DownloadReleaseDetail.as_view(), name='download_release_detail'), | ||
path('<slug:slug>/', views.DownloadOSList.as_view(), name='download_os_list'), | ||
path('', views.DownloadHome.as_view(), name='download'), | ||
] |
Oops, something went wrong.