Saturday, June 21, 2014

Howto update a package in venv

Hi 

Im relative new to Django and Linux commands etc.
I hope to get help in here :o)

I use virtualenv and requirements and one of the requirements is Sorl
But Sorl together with Django 1.6.5 is giving me this error on runserver
"/home/mh/v/local/lib/python2.7/site-packages/sorl/thumbnail/helpers.py:5: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
  from django.utils import simplejson"

I believe i found a fix here
https://github.com/mariocesar/sorl-thumbnail/pull/165/files

My question is
1. Is there a way that I can simply add a line to my requirements.txt file, so that these two files will be automatically updated when I do the "pip -r requirements.txt" ?
2. if not, how do I pull such changes into my sorl, inside my venv?

Bby the way, is this the right place to ask such questions? or is there anoter forum/group I should use?

Thank You :o)

Michael

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d98cf906-4c21-441e-bec0-e3a86d1f5b7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment