Django + Python 3.4 + WAMP Apache 2.4.23 + Pycharm

Finally worked instance for hosting DEV site code on python and ability to resolve is as “on live” web server just on my laptop. A lot of different configurations changed but this is one working for me, and maybe can help you also. Better use EVERYTHING 32 bit for Window, you will suffer if you try to find some needed wheels for python 64bit on Windows 7 64bit.   WAMP Apache 2.4.23 Download: wampserver3.0.6_x86_apache2.4.23_mysql5.7.14_php5.6.25-7.0.10 Here

Download mod_wsgi.so Here or Here (for everythin 32 bit and python 3.4 on Win7 you need: mod_wsgi-py34-VC10.so)

After WAMP install – you don’t need to run full programm (I just did not see any advantages of this and disable wampmysql service) All you need is here: C:\wamp\bin\apache\apache2.4.23 Place mod_wsgi-py34-VC10.soShort Read more…

Gjango, Pycharm – static files Windows

This topic for those who broke his mind trying to understand how to make Pycharm run Django with static files I’ve made it, but be carefull it can break your mind too! The settings I use the most portable way to configure settings – so I can move it into centos web server without paths changes Win\Unix (I HOPE). There are common DIRs

Looks like ot works, but in really weird way: static files are working fine web page as template is loading some scc and js are loading and some are not Working css: In works in different ways – this is one of them which I think correct. In HTML code:

  In WEB: Working js:Short Read more…