Last active
December 15, 2015 23:18
-
-
Save lavaldi/5338889 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Instala django-disqus | |
pip install django-disqus | |
#ó descarga django-disqus.tar.gz de http://pypi.python.org/pypi/django-disqus/ | |
#descomprímelo y córrelo con | |
python setup.py install | |
#Luego en setting.py agrega lo siguiente: | |
INSTALLED_APPS = ( | |
... | |
'disqus', | |
) | |
DISQUS_API_KEY = 'PRUEBAPRUEBAPRUEBAPRUEBAPRUEBAPRUEBA' #reemplazalo por tu API KEY | |
DISQUS_WEBSITE_SHORTNAME = 'prueba' | |
#Finalmente, coloca el siguiente código donde quieres cargar Disqus: | |
{% load disqus_tags %} | |
{% disqus_show_comments %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment