M. Zulqarnain
b6a2b91dd5
pyupgrade on rss_proxy and shoppingcart ( #26628 )
2021-02-22 12:58:09 +05:00
Feanil Patel
e90c6ae5a2
Remove all models related to shoppingcart.
...
DEPR-43 - Removal of Shoppingcart.
All models have been removed and the change has been deployed to production
so this should be safe to do.
It's strange that the ORM decided to drop certain fields before dropping the
whole models but decided to leave it all as the ORM generated it rather than
trying to manually change it.
Also turn the check back on to make sure people don't actually check in code
without the relevant migration files.
2020-12-02 11:36:07 -05:00
Jeremy Bowman
d19368525b
DEPR-43 Remove most of the shoppingcart app ( #24692 )
...
Removed most of the deprecated shoppingcart app, leaving just enough to allow us to cleanly remove the related database tables later. Also removed the relevant Django settings that weren't in use elsewhere.
2020-10-14 14:24:52 -04:00
Diana Huang
657da20c6e
DEPR-43 - Remove JS that refers to shoppingcart receipt page. ( #24890 )
...
https://openedx.atlassian.net/browse/DEPR-43
Co-authored-by: Jeremy Bowman <jbowman@edx.org >
2020-09-29 16:08:42 -04:00
Calen Pennington
4a120a9e26
Fix failures caused by removing lms/djangoapps from sys.path
2020-09-23 10:05:37 -04:00
M. Zulqarnain
d26b8bf47b
Django 3.x deprecation warning fix in lms ( #24512 )
2020-07-16 18:29:09 +05:00
Diana Huang
c7bd5a8a15
Remove more references to fix tests.
2020-06-09 13:06:44 -04:00
Diana Huang
1c1c2e1c75
Remove shoppingcart references from templates.
2020-05-26 13:09:32 -04:00
edX requirements bot
5724432741
Python Requirements Update ( #23984 )
...
* Updating Python Requirements
* Constrain django-cookies-samesite until dep bug fixed
* Fix PEP 8 problems revealed by pycodestyle upgrade
Co-authored-by: Tim McCormack <tmccormack@edx.org >
Co-authored-by: Jeremy Bowman <jbowman@edx.org >
2020-05-13 20:24:30 +00:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Robert Raposa
c6e9e545f9
fix flaky tests ( #23848 )
...
It doesn't look like this setting was required, and because it didn't
use override_settings, it broke other tests.
2020-04-29 15:42:17 -04:00
adeelehsan
02d24fdb63
Refund text updated.
...
PROD-1418
2020-04-08 19:12:54 +05:00
Awais Qureshi
c664852627
Merge pull request #23623 from edx/awais786/BOM-1492
...
Django2 shopping_cart: temporary test fix
2020-04-07 00:20:32 +05:00
Awais Qureshi
95ca67ee48
Merge pull request #23626 from edx/BOM-1493
...
BOM-1493
2020-04-06 21:08:22 +05:00
Awais Qureshi
d0f3d48881
BOM-1493
...
Fixing model-util issue
2020-04-06 14:26:08 +05:00
Awais Qureshi
1ad6497fec
BOM-1492
...
Before del check they key in list.
2020-04-06 13:27:56 +05:00
Soban Javed
55cb859119
skip tests failing in django2.1 because app is deprecated
2020-04-03 20:36:26 +05:00
adeelehsan
7f11afafdc
Order history removed from dashboard
...
PROD-799
2020-01-23 17:10:12 +05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Ayub khan
78c20156a1
BOM-964
...
shoppingcart: Explicitly Set fields to unicode to avoid migration
2019-10-24 18:04:16 +05:00
Nimisha Asthagiri
8cfc33c0f1
Python 3: multi-line regex replacement of assertIn and assertNotIn
2019-09-30 08:51:02 -04:00
Nimisha Asthagiri
4914c42364
Python 3: resp.content regex searches
2019-09-30 08:51:02 -04:00
Nimisha Asthagiri
9bbc21ea8c
Python 3: multi-lined assertIn, assertNotIn -> assertContains, assertNotContains
2019-09-30 08:51:02 -04:00
Nimisha Asthagiri
beb95eb69c
Python 3: assertIn -> assertContains consistency
2019-09-30 08:51:01 -04:00
Nimisha Asthagiri
a6b219a9e9
Python-3: assertIn(..response.content) -> assertContains
2019-09-30 08:50:38 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Ayub khan
4ae88b1bee
BOM-135
...
fixed all failing tests for the file.
2019-09-26 11:23:57 +05:00
Ayub
846a12939e
Merge pull request #21735 from edx/BOM-update_str_method
...
BOM Project __unicode__ to __str__
2019-09-26 10:47:14 +05:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
Diana Huang
e80265bb9a
Remove shoppingcart pdf generation.
...
DEPR-40
2019-09-25 09:07:09 -04:00
Awais Qureshi
fd2b7b65e2
BOM-471
...
Fixing python3
2019-09-12 19:09:59 +05:00
Awais Qureshi
e7712e0c9b
BOM-169
...
python3 tests failures.
2019-09-04 18:17:30 +05:00
Aarif
b4025d84a3
Merge pull request #21447 from edx/BOM-307
...
BOM-307 - Python 3 fixes
2019-08-30 11:03:51 +05:00
aarif
b4f1da25ee
python 3 fixes
2019-08-28 15:29:12 +05:00
aarif
4584f4becb
fixed tests for python 3
...
quality fixes
changes made as suggested
2019-08-28 13:17:04 +05:00
Awais Qureshi
0c2f4b793d
Merge pull request #21395 from edx/awais/BOM-97
...
BOM-97
2019-08-22 21:01:49 +05:00
arbisoft
a680f01aa2
Fixing encode/decode issues for python3.
2019-08-22 11:11:36 +05:00
Ayub khan
8a95a8e520
BOM-95
...
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Nimisha Asthagiri
38333624ac
Fixes for test_retire_order.py
2019-08-19 11:06:00 -04:00
David Ormsbee
9a1385585f
Convert response bytes to str before JSON parsing. ( #21375 )
...
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
Feanil Patel
e66a7a90e5
Byte string doesn't have a format function in python 3
2019-08-12 14:34:52 -04:00
aarif
61800c619f
replaced StringIO imports with import from six
...
replaced cStringIO and StringIO imports with import from six
fixed StringIO imports
fixed StringIO imports
fixed XSS python-wrap warning
2019-08-08 00:09:16 +05:00
Feanil Patel
8564c6768c
StringIO moved between python2 and python3.
...
Grab it from six instead.
2019-07-31 11:45:31 -04:00
adeelehsan
47137ddbab
Updated to python3
2019-07-12 15:35:34 +05:00
uzairr
a0629f4f14
Python-modernize on edx-platform (360 of 380)
...
After executing python-modernize and isort, few changes
occurred in import sequence as well as unicode func is
replaced by six.text_type func.
INCR-463
2019-07-10 16:31:20 +05:00
Ned Batchelder
aa13a634a6
Merge pull request #20821 from edx/nedbat/drf-yasg
...
Upgrade djangorestframework and install drf-yasg to get better OpenAPI support
2019-06-25 13:49:13 -04:00