diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index 334f285e2c..d729210235 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -89,14 +89,14 @@ settings_urls = [ # Some javascript files are served 'dynamically', allowing them to pass through the Django translation layer dynamic_javascript_urls = [ - url(r'^barcode.js', DynamicJsView.as_view(template_name='js/barcode.html'), name='barcode.js'), - url(r'^part.js', DynamicJsView.as_view(template_name='js/part.html'), name='part.js'), - url(r'^stock.js', DynamicJsView.as_view(template_name='js/stock.html'), name='stock.js'), - url(r'^build.js', DynamicJsView.as_view(template_name='js/build.html'), name='build.js'), - url(r'^order.js', DynamicJsView.as_view(template_name='js/order.html'), name='order.js'), - url(r'^company.js', DynamicJsView.as_view(template_name='js/company.html'), name='company.js'), - url(r'^bom.js', DynamicJsView.as_view(template_name='js/bom.html'), name='bom.js'), - url(r'^table_filters.js', DynamicJsView.as_view(template_name='js/table_filters.html'), name='table_filters.js'), + url(r'^barcode.js', DynamicJsView.as_view(template_name='js/barcode.js'), name='barcode.js'), + url(r'^bom.js', DynamicJsView.as_view(template_name='js/bom.js'), name='bom.js'), + url(r'^build.js', DynamicJsView.as_view(template_name='js/build.js'), name='build.js'), + url(r'^company.js', DynamicJsView.as_view(template_name='js/company.js'), name='company.js'), + url(r'^order.js', DynamicJsView.as_view(template_name='js/order.js'), name='order.js'), + url(r'^part.js', DynamicJsView.as_view(template_name='js/part.js'), name='part.js'), + url(r'^stock.js', DynamicJsView.as_view(template_name='js/stock.js'), name='stock.js'), + url(r'^table_filters.js', DynamicJsView.as_view(template_name='js/table_filters.js'), name='table_filters.js'), ] urlpatterns = [ diff --git a/InvenTree/templates/js/barcode.html b/InvenTree/templates/js/barcode.js similarity index 100% rename from InvenTree/templates/js/barcode.html rename to InvenTree/templates/js/barcode.js diff --git a/InvenTree/templates/js/bom.html b/InvenTree/templates/js/bom.js similarity index 100% rename from InvenTree/templates/js/bom.html rename to InvenTree/templates/js/bom.js diff --git a/InvenTree/templates/js/build.html b/InvenTree/templates/js/build.js similarity index 100% rename from InvenTree/templates/js/build.html rename to InvenTree/templates/js/build.js diff --git a/InvenTree/templates/js/company.html b/InvenTree/templates/js/company.js similarity index 100% rename from InvenTree/templates/js/company.html rename to InvenTree/templates/js/company.js diff --git a/InvenTree/templates/js/order.html b/InvenTree/templates/js/order.js similarity index 100% rename from InvenTree/templates/js/order.html rename to InvenTree/templates/js/order.js diff --git a/InvenTree/templates/js/part.html b/InvenTree/templates/js/part.js similarity index 100% rename from InvenTree/templates/js/part.html rename to InvenTree/templates/js/part.js diff --git a/InvenTree/templates/js/stock.html b/InvenTree/templates/js/stock.js similarity index 100% rename from InvenTree/templates/js/stock.html rename to InvenTree/templates/js/stock.js diff --git a/InvenTree/templates/js/table_filters.html b/InvenTree/templates/js/table_filters.js similarity index 100% rename from InvenTree/templates/js/table_filters.html rename to InvenTree/templates/js/table_filters.js