Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions TEKDB/TEKDB/templates/admin/RecordForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
<link rel="stylesheet" href="/static/assets/bootstrap-3.3.7-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/assets/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/static/TEKDB/css/record_form.css">
<script type="text/javascript" src="/static/admin/js/vendor/jquery/jquery.js"></script>
<script type="text/javascript" src="/static/admin/js/jquery.init.js"></script>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing these broken references and relying solely on Django's jQuery sounds great!

Are these two files referenced elsewhere? If not - please delete them from the repo.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are imported in templates/admin/index.js and jQuery is used on the admin page for things like the import + export modals. I think we need to keep those imports.

<script>
// django, bootstrap, and I all have different ways of using jQuery
var $ = django.jQuery;
Expand Down
Loading