Bhupesh-V / tutorialdb

A search 🔎 engine for programming/dev tutorials,
MIT License
121 stars 60 forks source link

Rename contexts and register Service Worker #19

Closed Animesh-Ghosh closed 4 years ago

Animesh-Ghosh commented 4 years ago

Used the static template tag in custom.js to properly register Service Worker. Renamed contexts named 'object_list' to more representative names in view.py and their respective >templates.

Fix for #14.

SW.js no longer gives 404 error.

Bhupesh-V commented 4 years ago

Updating custom.js is causing problems now It's not auto-scrolling into search results. I am working on it.

Bhupesh-V commented 4 years ago

It seems that the declaration {% load static %} does not work in static files itself(only on tempaltes). The 404 SW.js issue is now actually fixed

Bhupesh-V commented 4 years ago

@all-contributors please add @Animesh-Ghosh for code, bug, ideas, review and userTesting

allcontributors[bot] commented 4 years ago

@Bhupesh-V

I've put up a pull request to add @Animesh-Ghosh! :tada: