Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing demo url maker

  • Loading branch information...
commit f7130ebde7831c030bcb2aa9dd5984720a864e77 1 parent 37bdc1c
@anutron authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  frontend_dev/urls.py
  2. +1 −1  frontend_dev/views.py
View
1  frontend_dev/urls.py
@@ -19,6 +19,7 @@
(r'^(?P<version>.*)/viewdoc/(?P<path>.*)$', 'views.viewdoc'),
(r'^toc/(?P<path>.*)$', 'views.toc'),
(r'^(?P<version>.*)/source/', 'views.view_source'),
+
# Demos
(r'^(?P<version>.*)/demo/', 'views.demo'),
(r'^^(?P<version>.*)/assets/(?P<path>.*)$', 'views.generic_asset'),
View
2  frontend_dev/views.py
@@ -607,7 +607,7 @@ def get_test_files(version, url_maker=None):
if not project['demos'].has_key('exclude') or project['demos']['exclude'] is False:
paths[name] = get_path(project['demos']['path'])
- dirs, file_map = get_files(version, paths, matcher=HTML_MATCHER, url_maker=make_fiddle_url)
+ dirs, file_map = get_files(version, paths, matcher=HTML_MATCHER, url_maker=make_demo_url)
paths = {}
for name, project in settings.PROJECTS[version].iteritems():
Please sign in to comment.
Something went wrong with that request. Please try again.