Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fenced code block in article missing a line of code #2

Open
lmponcio opened this issue Sep 21, 2023 · 0 comments
Open

Fenced code block in article missing a line of code #2

lmponcio opened this issue Sep 21, 2023 · 0 comments

Comments

@lmponcio
Copy link

Hi! Firstly, thanks for this tutorial, it helped me a lot.

I think I found a small omission in the article:

Under the title "Making the view respond to Ajax requests", when the artists_view is defined, there is a comment # ...earlier code, and after that comment the following line of code is missing (I found it in the repository):

does_req_accept_json = request.accepts("application/json")

I hope this is useful.

Thanks again

Kind regards,
Martin

PS: I am trying to use this approach for doing autocomplete of the input (instead of updating an html element). If you have an article that covers that, or any suggestions I would appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant