Jeremy Bowman
553d35e53e
Upgrade mock BOM-596 ( #21717 )
2019-09-24 10:14:17 -04:00
Amit
328bcbe047
INCR-135: Run python-modernize on common/djangoapps/edxmako ( #20483 )
2019-05-09 10:08:57 -04:00
Robert Raposa
ba4cc62ff8
Retire deprecated RequestCache (Take 2)
...
ARCH-223
2018-09-08 15:09:28 -04:00
Nimisha Asthagiri
4ca165f690
Revert "ARCH-223: Retire deprecated RequestCache."
2018-08-30 16:33:03 -04:00
Robert Raposa
3df339a56a
Retire deprecated RequestCache.
...
ARCH-223
2018-08-30 08:55:19 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Qubad786
64555c60c0
Move request_cache to openedx.core.djangoapps
2018-01-26 15:09:25 +05:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Douglas Hall
1d1952c8d3
Added SiteMixin for tests that need to test Site specific functionality
2016-09-23 15:57:08 -04:00
Douglas Hall
8f6182aabf
Allow for site override of MKTG_URLS setting in index view
2016-09-22 15:58:27 -04:00
Calen Pennington
a88fa5c07a
Remove mako_middleware_process_request, which doesn't cleanup after itself
2016-06-09 10:10:40 -04:00
Calen Pennington
25c4398125
Convert edxmako to use django_crum to get the current request
2016-06-08 16:35:24 -04:00
Zia Fazal
c0648ab164
moved IS_EDX_DOMAIN dependent feature to edx.org theme
2016-01-22 15:32:19 -05:00
Dan Powell
31646e4a72
Don't render unconfigured marketing links in CMS footer.
2015-12-03 13:41:53 -05:00
Ned Batchelder
78e9445aa1
Add super() calls to setUp/tearDown that are missing them
...
Also, I replaced a number of tearDown methods with addCleanup instead.
And also remove some unneeded patch.stopall() calls.
2015-05-14 18:14:21 -04:00
Andy Armstrong
4d75c18098
Fix Mako templates to use latest request context
...
Fixed the edX middleware to lazily create request
context for Mako templates, so that it is based on
any changes made to the request object.
Verified that with this fix the "Instructor" tab is
correctly hidden when a staff member is viewing
the course as a student.
2014-12-09 23:38:31 -05:00
stv
cf9308144d
Fix PEP8: E302 expected 2 blank lines, found 1
2014-11-10 11:00:11 -08:00
stephensanchez
c15d97ea9b
Removing the feature flags for new header and footer.
...
Fix acceptance tests
Updating lettuce tests.
Revert the deletion of the original edx header and footer.
Renaming old header and footers to legacy files.
Add IS_EDX_DOMAIN flag for header.
Updating tests and django main template.
renaming the header files for microsite backwards compat.
2014-10-14 17:47:46 +00:00
Stephen Sanchez
2f4fb30592
Cleaning up ddt syntax for new footer test.
2014-09-02 13:14:28 +00:00
Stephen Sanchez
75d6f99fed
The main django template needs header and footer feature flags.
2014-09-02 12:08:22 +00:00
Jesse Zoldak
96153ceed0
Revert "The main django template needs header and footer feature flags."
2014-08-29 16:43:30 -04:00
Stephen Sanchez
20a66ee2ef
The main django template needs header and footer feature flags.
2014-08-29 15:38:28 +00:00
Waheed Ahmed
d9ccaa650a
Check REQUEST_CONTEXT.context exists before accessing it.
...
LMS-11226
2014-08-14 12:21:54 -04:00
Waheed Ahmed
05b87fd99b
Implemented process_response method to clear requestcontext global variable in mako middleware.
...
LMS-6622
2014-08-06 19:58:20 +05:00
Chris Rossi
0a1ed11daa
Make mako template lookups pluggable.
...
This code adds the ability to add Mako template lookup directories on
the fly, allowing third party add-ons to contribute their own Mako templates.
A new API function for registering Mako templates is introduced::
from edxmako import add_lookup
add_lookup('main', '/path/to/templates')
# Or, specify a package to lookup using pkg_resources. This will
# add the 'templates' directory inside the current package:
add_lookup('main', 'templates', package=__name__)
2014-01-31 13:55:36 -05:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
David Baumgold
8eff442752
mitxmako => edxmako
2013-12-03 14:15:09 -05:00