Pregunta

So I am pretty new to Django and I am a little confused on how to install apps. I am trying to get the editlive app to work in Django. This requires dajaxice to also be installed. Both of the instructions for this are very similar, basically it says to change some things in settings.py, urls.py, and add some imports to your main.html.

I did these things, but the instructions don't say what I am supposed to do with the dajaxice, and editlive packages. In each package there is a install.py, should I build and run this? Or am I supposed to just include all the code in with my project?

¿Fue útil?

Solución

The python/django community uses a tool called pip to install python packages and libraries. Look up how to install pip on your system (and also look up virtualenv), and then you can simply do:

pip install django-dajaxice

pip install django-editlive

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top