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 neededShort 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). ThereShort Read more —>

Django fast hints

Here some fast hints to remember: Migration:

  Alias /static/ «/var/www/smm_tools/site/»   Read more —>

Django static files

How to find where def. static stores?

Then move it into the folder you need. Then update django’s.conf file:

And check the settings.py:

https://docs.djangoproject.com/en/1.8/howto/static-files/   Read more —>

Django + Python3.4 + Mysql(MariaDB)

Just hint for future me:

Using sources: http://www.8host.com/blog/django-prilozhenie-na-mariadb-v-centos-7/ http://stackoverflow.com/questions/14087598/python-3-3-importerror-no-module-named-configparser http://stackoverflow.com/questions/27748556/python3-4-cant-install-mysql-python http://geckich.blogspot.com/2012/08/django-djangocoreexceptionsimproperlyco.html MyOwnCommonSence     Read more —>

Django + apache2 + mod_wsgi

This is conf file to allow apache run Django applications.

Use these links: https://www.digitalocean.com/community/tutorials/how-to-run-django-with-mod_wsgi-and-apache-with-a-virtualenv-python-environment-on-a-debian-vps https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-14-04 https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ Don’t forget to use correct IPs — domains, and addresses. Especially if proxy pass is used.     Read more —>

Вначале ты…

Вначале, ты решаешь поучить Python, начинаешь немного углубляться… … и приходишь в себя в тот момент, когда читаешь о фреймворках. Read more —>