How can I set up Debian x86_64 so a Django project sees django.contrib.staticfiles?

15 views
Skip to first unread message

Christos Jonathan Seth Hayward

unread,
Apr 23, 2014, 7:34:15 PM4/23/14
to django...@googlegroups.com

I have a new Debian VPS, and a Django project that I am trying to deploy is not seeing django.contrib.staticfiles.*. Doing a "pip install django-staticfiles" has not observably changed things.

What is the best way to have things running well enough that such Django projects will run?

Thanks,



--
Christos Jonathan Seth Hayward
Christos Jonathan Seth Hayward, an Orthodox Christian author.

Amazon / Kindle • Author • Author Bio • Email • Facebook • Fan Page • Google Plus • LinkedIn • Professional • Twitter • Web • What's New?

If you read just one of my books, you'll want The Best of Jonathan's Corner.

Andreas Kuhne

unread,
Apr 24, 2014, 3:01:32 AM4/24/14
to django...@googlegroups.com
First of all are you using a virtual environment for running the django project in? If not, I would strongly recommend that you check how to use and implement virtualenv. The problem with running python on a debian based system otherwise is that you can get issues with different packages in different places. If you create a virtual environment and run everything from there you get complete control over which version of python and which version of your plugins will be running.

Regards,

Andréas

--
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...@googlegroups.com.
To post to this group, send email to django...@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/CAE6_B5SMaj3tbjbz5-JKMkhZJ%3DGLYE1-RpkxAENKVRmx_fVwZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages