-
Notifications
You must be signed in to change notification settings - Fork 31
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
HTTP ERROR 405 #58
Comments
Not sure answer atm, but looks you had similar problem as @agiledesign2. |
@HelloGit100 Did you end up finding a solution, or unresolved? |
Hello @agiledesign2 has posted a solution to his issue. Perhaps, this would solve your problem as well: #57 |
I added this to the html header to solve issue for me |
Django 2.2.1
The steps are as follows:
pip3 install pinax-likes
Added
'pinax.likes',
to the project's settings.py file,then added:
to the project's urls.py file,
https://github.com/pinax/pinax-templates/tree/master/pinax/templates/templates/pinax/likes
,put these html files in
/home/www/venv/templates/pinax/likes/
,to the post.html file,
python manage.py makemigrations app && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
Open http://127.0.0.1:8000/post/13/, like icon appears, when clicked the icon(url: http://127.0.0.1:8000/like/14:13/), show the following:
HTTP ERROR 405
,The console displays the following information:
<script src="{% static 'eldarion-ajax.min.js' %}"></script>
in base.html,After clicked the icon, the console displays the following information:
What are the steps wrong? Thank you!
The text was updated successfully, but these errors were encountered: