-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚨 Edit for forward compatibility (#74)
* 🚨 Edit urls.py files for forward compatibility and Change xlrd version for pyexcel-xls * 📝 Add change log in changelog.yml
- Loading branch information
Showing
6 changed files
with
38 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from django.conf.urls import include, url | ||
from django.conf.urls import include | ||
from django.urls import re_path | ||
from django.contrib import admin | ||
|
||
|
||
urlpatterns = [ | ||
url(r'^admin/', admin.site.urls), | ||
url(r'^polls/', include('polls.urls')) | ||
re_path(r'^admin/', admin.site.urls), | ||
re_path(r'^polls/', include('polls.urls')) | ||
] |
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,34 +1,33 @@ | ||
from django.conf.urls import url | ||
from django.urls import re_path | ||
from polls import views | ||
|
||
|
||
urlpatterns = [ | ||
url(r'^$', views.upload, name='uplink'), | ||
url(r'^download/(.*)', views.download, name="download"), | ||
url(r'^download_attachment/(.*)/(.*)', views.download_as_attachment, | ||
name="download_attachment"), | ||
url(r'^exchange/(.*)', views.exchange, name="exchange"), | ||
url(r'^parse/(.*)', views.parse, name="parse"), | ||
url(r'^import/', views.import_data, name="import"), | ||
url(r'^import_sheet/', views.import_sheet, name="import_sheet"), | ||
url(r'^export/(.*)', views.export_data, name="export"), | ||
url(r'^handson_view/', views.handson_table, name="handson_view"), | ||
re_path(r'^$', views.upload, name='uplink'), | ||
re_path(r'^download/(.*)', views.download, name="download"), | ||
re_path(r'^download_attachment/(.*)/(.*)', views.download_as_attachment, | ||
name="download_attachment"), | ||
re_path(r'^exchange/(.*)', views.exchange, name="exchange"), | ||
re_path(r'^parse/(.*)', views.parse, name="parse"), | ||
re_path(r'^import/', views.import_data, name="import"), | ||
re_path(r'^import_sheet/', views.import_sheet, name="import_sheet"), | ||
re_path(r'^export/(.*)', views.export_data, name="export"), | ||
re_path(r'^handson_view/', views.handson_table, name="handson_view"), | ||
|
||
# handson table view | ||
url(r'^embedded_handson_view/', | ||
views.embed_handson_table, name="embed_handson_view"), | ||
url(r'^embedded_handson_view_single/', | ||
views.embed_handson_table_from_a_single_table, | ||
name="embed_handson_view"), | ||
re_path(r'^embedded_handson_view/', | ||
views.embed_handson_table, name="embed_handson_view"), | ||
re_path(r'^embedded_handson_view_single/', | ||
views.embed_handson_table_from_a_single_table, | ||
name="embed_handson_view"), | ||
# survey_result | ||
url('^survey_result/', | ||
views.survey_result, name='survey_result'), | ||
re_path('^survey_result/', | ||
views.survey_result, name='survey_result'), | ||
|
||
# testing purpose | ||
url(r'^import_using_isave/', | ||
views.import_data_using_isave_book_as), | ||
url(r'^import_sheet_using_isave/', | ||
views.import_sheet_using_isave_to_database), | ||
url(r'^import_without_bulk_save/', | ||
views.import_without_bulk_save, name="import_no_bulk_save") | ||
re_path(r'^import_using_isave/', | ||
views.import_data_using_isave_book_as), | ||
re_path(r'^import_sheet_using_isave/', | ||
views.import_sheet_using_isave_to_database), | ||
re_path(r'^import_without_bulk_save/', | ||
views.import_without_bulk_save, name="import_no_bulk_save") | ||
] |
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,3 +1,3 @@ | ||
pyexcel>=0.5.7 | ||
pyexcel-webio>=0.1.2 | ||
Django>=1.6.1 | ||
Django>=2.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
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,3 +1,4 @@ | ||
xlrd<=1.2.0 | ||
nose | ||
mock;python_version<"3" | ||
codecov | ||
|